Re: [PATCH] KVM: nVMX: Update VMCS12_REVISION comment to state it should never change
From: Sean Christopherson
Date: Fri Jun 28 2024 - 18:59:03 EST
On Thu, 13 Jun 2024 12:01:03 -0700, Sean Christopherson wrote:
> Rewrite the comment above VMCS12_REVISION to unequivocally state that the
> ID must never change. KVM_{G,S}ET_NESTED_STATE have been officially
> supported for some time now, i.e. changing VMCS12_REVISION would break
> userspace.
>
> Opportunistically add a blurb to the CHECK_OFFSET() comment to make it
> explicitly clear that new fields are allowed, i.e. that the restriction
> on the layout is all about backwards compatibility.
>
> [...]
Applied to kvm-x86 vmx, thanks!
[1/1] KVM: nVMX: Update VMCS12_REVISION comment to state it should never change
https://github.com/kvm-x86/linux/commit/cb9fb5fc12ef
--
https://github.com/kvm-x86/linux/tree/next