Fedora 37에 설치할 때 Windows 11 KVM 게스트가 중단됩니다.

Fedora 37에 설치할 때 Windows 11 KVM 게스트가 중단됩니다.

Fedora 37의 KVM에 Windows 11 게스트를 설치하려고 합니다. 나는 sudo dnf install --refresh @virtualization.

다음에서 Windows 11 ISO를 다운로드했습니다.마이크로소프트 공식 홈페이지. 저도 다운받았어요버티오 드라이버.

다음 단계를 사용하여 가상 머신을 만들었습니다.

  1. 가상 머신 관리자 애플리케이션 시작
  2. 왼쪽 상단에 있는 "새 가상 머신" 버튼을 클릭하세요.
  3. "로컬 설치 미디어"를 선택하고 위에서 다운로드한 Windows 11 ISO 경로를 입력하세요.
  4. 기본 CPU 및 RAM 설정(4코어, 8192MB RAM)을 사용하려면 "앞으로"를 선택하세요.
  5. 기본 하드 드라이브 설정(128GiB)을 사용하려면 앞으로를 선택하세요.
  6. 앞으로를 선택하고 설치 전 구성 사용자 정의 옵션을 선택한 후 마침을 클릭합니다.
  7. 개요에서 펌웨어를 다음으로 설정합니다.UEFI x86_64: /usr/share/edk2/ovmf/OVMF_CODE.secboot.fd
  8. "하드웨어 추가"를 클릭하세요.
    • "저장소"를 선택하세요
    • 장치 유형을 CDROM으로 설정
    • 위에서 다운로드한 virtio ISO에 경로를 추가하세요.
    • "완료"를 클릭하세요
  9. "시작 옵션"에서
    • 활성화하려면 SATA CDROM 1 확인란을 선택하세요.
    • SATA CDROM 1을 부팅 순서의 맨 위로 이동
  10. TPM 하에서
    • "고급 옵션"을 확장합니다.
    • "버전"을 "2.0"으로 설정
  11. 왼쪽 상단에 있는 "설치 시작"을 클릭하세요.

그러면 게스트 창이 열리고 "CD/DVD에서 부팅하려면 아무 키나 누르십시오"라는 메시지가 표시됩니다. 하지만 키를 누르면 이 화면에서 멈춥니다.

UEFI 펌웨어 로고

dmesg나는 정말로 거기에 어떤 잘못된 것도 보거나 보지 못합니다 journalctl. journalctl로그는 다음과 같습니다.

Mar 26 13:03:30 fedora systemd-machined[904]: New machine qemu-15-win11.
Mar 26 13:03:30 fedora systemd[1]: Started machine-qemu\x2d15\x2dwin11.scope - Virtual Machine qemu-15-win11.
Mar 26 13:03:30 fedora systemd[1]: Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service...
Mar 26 13:03:30 fedora systemd[1]: Started NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service.
Mar 26 13:03:30 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora NetworkManager[996]: <info>  [1679853810.5014] device (vnet14): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'external')
Mar 26 13:03:30 fedora NetworkManager[996]: <info>  [1679853810.5018] device (vnet14): state change: secondaries -> activated (reason 'none', sys-iface-state: 'external')
Mar 26 13:03:30 fedora NetworkManager[996]: <info>  [1679853810.5026] device (vnet14): Activation: successful, device activated.
Mar 26 13:03:30 fedora audit: BPF prog-id=125 op=LOAD
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=deny vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=all exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=path path="/dev/null" rdev=01:03 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=path path="/dev/full" rdev=01:07 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=path path="/dev/zero" rdev=01:05 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=path path="/dev/random" rdev=01:08 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=path path="/dev/urandom" rdev=01:09 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=path path="/dev/ptmx" rdev=05:02 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=path path="/dev/kvm" rdev=0A:E8 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=major category=pty maj=88 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora systemd[1]: iscsi.service: Unit cannot be reloaded because it is inactive.
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=disk reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 old-disk="?" new-disk="/var/lib/libvirt/images/win11-1.qcow2" exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=disk reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 old-disk="?" new-disk="/home/quanticle/Downloads/Win11_22H2_English_x64v1.iso" exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=disk reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 old-disk="?" new-disk="/home/quanticle/Downloads/virtio-win-0.1.229.iso" exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=net reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 old-net="?" new-net="52:54:00:96:29:9d" exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=dev reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 bus=usb device=555342207265646972646576 exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=dev reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 bus=usb device=555342207265646972646576 exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=chardev reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 old-chardev="?" new-chardev="/dev/pts/3" exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=tpm-emulator reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 device="/run/libvirt/qemu/swtpm/15-win11-swtpm.sock" exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=mem reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 old-mem=0 new-mem=8388608 exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=vcpu reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 old-vcpu=0 new-vcpu=4 exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_CONTROL pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm op=start reason=booted vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 vm-pid=29758 exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:32 fedora avahi-daemon[885]: Joining mDNS multicast group on interface vnet14.IPv6 with address fe80::fc54:ff:fe96:299d.
Mar 26 13:03:32 fedora avahi-daemon[885]: New relevant interface vnet14.IPv6 for mDNS.
Mar 26 13:03:32 fedora avahi-daemon[885]: Registering new address record for fe80::fc54:ff:fe96:299d on vnet14.*.
Mar 26 13:03:32 fedora kernel: virbr0: port 1(vnet14) entered learning state
Mar 26 13:03:34 fedora kernel: virbr0: port 1(vnet14) entered forwarding state
Mar 26 13:03:34 fedora kernel: virbr0: topology change detected, propagating
Mar 26 13:03:34 fedora NetworkManager[996]: <info>  [1679853814.4977] device (virbr0): carrier: link connected
Mar 26 13:03:40 fedora systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Mar 26 13:03:40 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 26 13:04:02 fedora systemd[1719]: Starting tracker-extract-3.service - Tracker metadata extractor...
Mar 26 13:04:02 fedora systemd[1719]: Started tracker-extract-3.service - Tracker metadata extractor.
Mar 26 13:04:43 fedora audit: BPF prog-id=126 op=LOAD
Mar 26 13:04:43 fedora audit: BPF prog-id=127 op=LOAD
Mar 26 13:04:43 fedora audit: BPF prog-id=128 op=LOAD
Mar 26 13:04:43 fedora systemd[1]: Starting systemd-hostnamed.service - Hostname Service...
Mar 26 13:04:43 fedora systemd[1]: Started systemd-hostnamed.service - Hostname Service.
Mar 26 13:04:43 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 26 13:05:13 fedora systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Mar 26 13:05:13 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 26 13:05:13 fedora audit: BPF prog-id=128 op=UNLOAD
Mar 26 13:05:13 fedora audit: BPF prog-id=127 op=UNLOAD
Mar 26 13:05:13 fedora audit: BPF prog-id=126 op=UNLOAD
Mar 26 13:07:16 fedora audit: BPF prog-id=129 op=LOAD
Mar 26 13:07:16 fedora systemd[1]: Starting fprintd.service - Fingerprint Authentication Daemon...
Mar 26 13:07:16 fedora systemd[1]: Started fprintd.service - Fingerprint Authentication Daemon.
Mar 26 13:07:16 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 26 13:07:19 fedora audit[31273]: USER_AUTH pid=31273 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=pam_usertype,pam_localuser,pam_unix acct="quanticle" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:07:19 fedora audit[31273]: USER_ACCT pid=31273 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="quanticle" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:07:19 fedora audit[31273]: USER_CMD pid=31273 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd="/home/quanticle/Downloads" cmd="journalctl" exe="/usr/bin/sudo" terminal=pts/0 res=success'
Mar 26 13:07:19 fedora sudo[31273]: quanticle : TTY=pts/0 ; PWD=/home/quanticle/Downloads ; USER=root ; COMMAND=/usr/bin/journalctl
Mar 26 13:07:19 fedora audit[31273]: CRED_REFR pid=31273 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_localuser,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:07:19 fedora sudo[31273]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Mar 26 13:07:19 fedora audit[31273]: USER_START pid=31273 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:07:46 fedora systemd[1]: fprintd.service: Deactivated successfully.
Mar 26 13:07:46 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 26 13:07:46 fedora audit: BPF prog-id=129 op=UNLOAD
Mar 26 13:08:49 fedora sudo[31273]: pam_unix(sudo:session): session closed for user root
Mar 26 13:08:49 fedora audit[31273]: USER_END pid=31273 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:08:49 fedora audit[31273]: CRED_DISP pid=31273 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_localuser,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:09:04 fedora audit[31344]: USER_ACCT pid=31344 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="quanticle" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:09:04 fedora audit[31344]: USER_CMD pid=31344 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd="/home/quanticle" cmd="journalctl" exe="/usr/bin/sudo" terminal=pts/0 res=success'
Mar 26 13:09:04 fedora audit[31344]: CRED_REFR pid=31344 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_fprintd acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:09:04 fedora sudo[31344]: quanticle : TTY=pts/0 ; PWD=/home/quanticle ; USER=root ; COMMAND=/usr/bin/journalctl
Mar 26 13:09:04 fedora audit[31344]: USER_START pid=31344 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:09:04 fedora sudo[31344]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)

여기서 어디로 가야할지 잘 모르겠습니다. 명백한 오류는 없지만 Windows가 시작되지 않습니다.

답변1

몇 시간 동안 여러 솔루션을 테스트한 후 나에게 적합한 솔루션을 찾았으며 다음과 같이 공유하고 싶습니다.

여러 사람이 GitHub에 신고했습니다.여기, Fedora 37에서는 올바른 보안 부팅 파일이 사용되지 않습니다. /usr/share/edk2/ovmf-4m/4m 버전을 포함하는 다른 디렉토리가 있습니다 .

단계별:

  1. XML을 엽니다virsh edit your-name-of-the-vm
  2. <loader readonly='yes' secure='yes' type='pflash'>/usr/share/edk2/ovmf-4m/OVMF_CODE.secboot.fd</loader>경로 선 편집ovmf-4m
  3. 4M 파일의 UEFI 변수 복사

방정식 XML: <nvram>/home/myuser/.config/libvirt/qemu/nvram/win11_VARS.fd</nvram>

파일 복사:

cp /usr/share/edk2/ovmf-4m/OVMF_VARS.secboot.fd /home/myuser/.config/libvirt/qemu/nvram/win11_VARS.fd

  1. 가상 머신을 시작하세요

그래도 작동하지 않으면(저처럼) 최신 데비안 패키지를 다운로드하고 파일을 추출하여 OVMF_CODE_4M.secboot.fd홈 디렉터리에 저장한 다음 이 UEFI 파일을 사용하여 XML을 편집했습니다. 그런 다음 OVMF_VARS_4M.fd해당 위치에 복사했습니다 <nvram>(3단계).

이것이 누군가에게 도움이 되기를 바랍니다.

답변2

ovmf를 다운그레이드하면 다음과 같은 효과가 있었습니다.

sudo dnf downgrade edk2-ovmf

답변3

언급할 만큼 평판이 충분하지 않습니다. CPU 토폴로지가 무엇입니까? 이 잘못된 설정으로 인해 많은 문제가 발생하고 성능이 매우 저하되었습니다. 따라서 수동으로 설정하는 것이 좋습니다.
할당 = 총 스레드
소켓 = CPU 소켓(이것이 이해되지 않는 경우) 1로 설정하십시오. 대부분의 마더보드에는 하나만 있습니다. 일부 서버 또는 워크스테이션 마더보드에만 둘 이상의 마더보드가 있습니다.
코어 = 코어, 스레드는 중요하지 않습니다.
스레드 = 스레드모든코어이므로 다시 일반적인 소비자 CPU 1 또는 2입니다. 가장 안전한 옵션은 1이지만, CPU가 하이퍼스레딩이나 유사한 기술을 지원하는 경우 성능은 데스크탑에 남겨두게 됩니다.

관련 정보