Re: [PATCH 0/3] KVM: x86: Support hibernation of a nested Hyper-V

From: Sean Christopherson

Date: Fri Nov 13 2026 - 14:36:52 EST


On Mon, 05 Oct 2026 19:24:28 +0000, Mushahid Hussain wrote:
> A Windows guest with the Hyper-V role enabled runs its own hypervisor
> (hvix64) nested under KVM. When KVM advertises the Hyper-V time and
> frequency MSRs, hvix64 lets KVM own the partition reference time. It
> then offers hibernation to Windows only if KVM also advertises CPUID
> 0x40000004 EAX bit 20 (RestoreTimeOnResume), and on resume restores
> the saved TSC and reference time through HvCallRestorePartitionTime
> (0x103). Both are reserved in the TLFS and defined in Microsoft's
> hvdef crate.
>
> [...]

Applied patch 1 to kvm-x86 vmx, thanks!

[1/3] KVM: nVMX: Clear stale vmcs02 sync flag in free_nested()
https://github.com/kvm-x86/linux/commit/ef289f270c59

--
https://github.com/kvm-x86/linux/tree/next