Messages in this thread | | | Date | Mon, 20 Dec 2021 14:20:05 +0100 | Subject | Re: [PATCH v2 04/23] kvm: x86: Exclude unpermitted xfeatures at KVM_GET_SUPPORTED_CPUID | From | Paolo Bonzini <> |
| |
On 12/17/21 16:29, Jing Liu wrote: > > +Permissions must be set via prctl() for dynamically-enabled XSAVE > +features before calling this ioctl. Otherwise those feature bits are > +excluded. > +
Dynamically-enabled feature bits need to be requested with ``arch_prctl()`` before calling this ioctl. Feature bits that have not been requested are excluded from the result.
Thanks,
Paolo
| |