Re: [PATCH] KVM: x86: Restore update of required xstate size in guest's CPUID

2020-05-09 Thread Paolo Bonzini
On 09/05/20 01:37, Sean Christopherson wrote: > diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c > index 35845704cf57a..cd708b0b460a0 100644 > --- a/arch/x86/kvm/cpuid.c > +++ b/arch/x86/kvm/cpuid.c > @@ -84,11 +84,13 @@ int kvm_update_cpuid(struct kvm_vcpu *vcpu) >

Re: [PATCH] KVM: x86: Restore update of required xstate size in guest's CPUID

2020-05-08 Thread Xiaoyao Li
On 5/9/2020 7:37 AM, Sean Christopherson wrote: Restore a guest CPUID update that was unintentional collateral damage when the per-vCPU guest_xstate_size field was removed. It's really unintentional. None of us noticed it. :( It's good that you catch it! Cc: Xiaoyao Li Fixes: d87277414b851

[PATCH] KVM: x86: Restore update of required xstate size in guest's CPUID

2020-05-08 Thread Sean Christopherson
Restore a guest CPUID update that was unintentional collateral damage when the per-vCPU guest_xstate_size field was removed. Cc: Xiaoyao Li Fixes: d87277414b851 ("kvm: x86: Cleanup vcpu->arch.guest_xstate_size") Signed-off-by: Sean Christopherson --- There's nothing more thrilling than