[Bug 217307] windows guest entering boot loop when nested virtualization enabled and hyperv installed

bugzilla-daemon
2023-06-27T08:29:37Z

--- Comment #7 from vkuznets@redhat.com ---
Assuming this is not a KVM/QEMU regression, I'd suggest to explore two options:
1) Change "-cpu host" to a named CPU model. I don't see "alderlake" CPU models
in QEMU so I'd start with something like "Skylake-Client-v4". Remove all other
CPU options you have, like "rtm=off,mpx=off,host-cache-info=on,l3-cache=off".
Try to find the exact CPU option which breaks things. There were similar but
reversed (works with '-cpu host', doesn't work with a named model) issues in
the past, e.g.
https://lore.kernel.org/qemu-devel/20220308113445.859669-21-pbonzini@redhat.com/
2) Try disabling certain Hyper-V enlightenments, start with "hv-evmcs". In
theory, things should work (slowly, but still) without any Hyper-V
enlightenments.