On Wed, Nov 24 2021 at 16:20, isaku yamahata wrote: > From: Sean Christopherson <sean.j.christopherson@intel.com> > > Add a per-vcpu placeholder for the support XSS of the guest so that the > TDX configuration code doesn't need to hack in manual computation of the > supported XSS. KVM XSS enabling is currently being upstreamed, i.e. > guest_supported_xss will no longer be a placeholder by the time TDX is > ready for upstreaming (hopefully). Yes, hope dies last... Definitely technical useful information for a changelog. There is a reason why notes should go below the --- separator line. Thanks, tglx
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index a2bc4d9caaef..2dab0899d82c 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -701,6 +701,7 @@ struct kvm_vcpu_arch { u64 xcr0; u64 guest_supported_xcr0; + u64 guest_supported_xss; struct kvm_pio_request pio; void *pio_data;