Re: [PATCH v1] kvm: x86: Revise guest_fpu xcomp_bv field

From: Liu, Jing2
Date: Wed Feb 24 2021 - 21:05:09 EST




On 2/25/2021 4:40 AM, Sean Christopherson wrote:
On Tue, Feb 23, 2021, Liu, Jing2 wrote:
XCOMP_BV[63] field indicates that the save area is in the
compacted format and XCOMP_BV[62:0] indicates the states that
have space allocated in the save area, including both XCR0
and XSS bits enable by the host kernel. Use xfeatures_mask_all
for calculating xcomp_bv and reuse XCOMP_BV_COMPACTED_FORMAT
defined by kernel.
Works for me, just please wrap at ~73-75 chars, not ~64.

Thanks!
Sure, let me update v2.

BRs,
Jing