Re: [PATCH v5 04/19] KVM:x86: Refresh CPUID on write to guest MSR_IA32_XSS
From: Paolo Bonzini
Date: Fri Aug 04 2023 - 17:44:10 EST
On 8/4/23 18:02, Sean Christopherson wrote:
Update CPUID(EAX=0DH,ECX=1) when the guest's XSS is modified.
CPUID(EAX=0DH,ECX=1).EBX reports required storage size of
all enabled xstate features in XCR0 | XSS. Guest can allocate
sufficient xsave buffer based on the info.
Please wrap changelogs closer to ~75 chars. I'm pretty sure this isn't the first
time I've made this request...
I suspect this is because of the long "word" CPUID(EAX=0DH,ECX=1).EBX.
It would make the lengths less homogeneous if lines 1 stayed the same
but lines 2-4 became longer.
Paolo