[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH] i386: Remove ospke CPUID flag name
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC PATCH] i386: Remove ospke CPUID flag name |
Date: |
Tue, 12 Jun 2018 17:12:58 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 12/06/2018 17:01, Eduardo Habkost wrote:
>>>
>>> Remove OSPKE from the feature name array so users don't try to
>>> configure it manually.
>>>
>>> Signed-off-by: Eduardo Habkost <address@hidden>
>> 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.
If you mean OSPKE, then yes---if PKU is available. Likewise, OSXSAVE
should only be enabled if XSAVE is available.
Paolo