as my investigation, it seems the VM image is corrupted when the qemu is shutdown abnormally since if i change a pure image then the VM will bootup successfully.
windows 11 build on qemu+kvm and ARMv8 device can not start if the qemu shutdown abnormally
Hi windows:
i have an ARM mobile device which supports kvm and qemu, then i built an ARM windows 11 VM base on qemu and kvm. it works well in most of the time, but when the device shutdown or qemu is kill by force, then windows VM will not start as expectation. it stops at the stage of:
BdsDxe: starting boot0001 "UEFI Misc Device", i made some debug and found the kvm vcpu is blocked at the KVM_RUN operation which means the vcpu is working on windows VM jobs but it seems VM fails to bootup.
i tried linux VM in the same environment with same setup, it works well even if the qemu is shutdown abnormally.
for this case, is there any way to figure out what is the barrier for the VM start up? or is there any known issue for the hyper-v use case?
2 answers
Sort by: Most helpful
-
-
Ian Xue-MSFT 41,691 Reputation points Microsoft External Staff
2025-03-31T09:33:01.0333333+00:00 Hi baowen zheng,
Thanks for your post. Generally speaking, Hyper-V has specific hardware requirements, and some Hyper-V features have other requirements. Use the details in this article to decide what requirements your system must meet so you can use Hyper-V the way you plan to.
- Hardware-assisted virtualization. This is available in processors that include a virtualization option; specifically processors with Intel Virtualization Technology (Intel VT) or AMD Virtualization (AMD-V) technology.
- Hardware-enforced Data Execution Prevention (DEP) must be available and enabled. For Intel systems, this is the XD bit (execute disable bit). For AMD systems, this is the NX bit (no execute bit).
Reference. System requirements for Hyper-V on Windows and Windows Server | Microsoft Learn
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.