On Tue, Jun 12, 2018 at 08:55:55AM +0200, Paolo Bonzini wrote: > On 11/06/2018 22:37, Eduardo Habkost wrote: > > RFC NOTE: Paolo, Richard, as far as I can see, there's no point > > in enabling OSPKE in user-mode QEMU. Do you confirm that? > > > > OSPKE is not a static feature flag: it changes dynamically at > > runtime depending on CR4, and it was never configurable: KVM > > never returned OSPKE on GET_SUPPORTED_CPUID, and on TCG enables > > it automatically if CR4_PKE_MASK is set. > > > > Remove OSPKE from the feature name array so users don't try to > > configure it manually. > > > > Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> > > Yes, it's the same as OSXSAVE. Thanks!
CR4_OSXSAVE_MASK is automatically enabled on user-mode QEMU, though. My question is if it would make any sense to enable CR4_PKE_MASK too. -- Eduardo