Re: [PATCH v4 00/28] KVM: combined patchset for MBEC/GMET support

David Riley
2026-04-30T12:08:27Z

On 4/30/26 12:27 PM, Paolo Bonzini wrote:
> On Wed, Apr 29, 2026 at 3:05 PM David Riley <d.riley@proxmox.com> wrote:
>> I observed the following:
>> The guest now never actually boots into Windows. It gets stuck before
>> that and therefore does not even enter Windows Recovery.
> Last minute rebase screwup. The old code had:
>
> 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
>
>