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

From: Sean Christopherson
Date: Wed Feb 24 2021 - 15:41:56 EST


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!