Re: [PATCH v4 00/28] KVM: combined patchset for MBEC/GMET support
From: David Riley
Date: Thu Apr 30 2026 - 08:11:55 EST
On 4/30/26 12:27 PM, Paolo Bonzini wrote:
On Wed, Apr 29, 2026 at 3:05 PM David Riley <d.riley@xxxxxxxxxxx> wrote:
I observed the following:Last minute rebase screwup. The old code had:
The guest now never actually boots into Windows. It gets stuck before
that and therefore does not even enter Windows Recovery.
vmcb02->control.misc_ctl = vmcb01->control.misc_ctl & SVM_MISC_ENABLE_NP;
New code has:
vmcb02->control.misc_ctl = vmcb01->control.misc_ctl & SVM_MISC_ENABLE_NP;
And now needs to pass down GMET as well.
Thanks for looking into it.
I changed the line to:
vmcb02->control.misc_ctl = vmcb01->control.misc_ctl & (SVM_MISC_ENABLE_NP | SVM_MISC_ENABLE_GMET);
and was able to start the Windows VM with VBS enabled.
Paolo