On 14/09/16 22:35, Dave Hansen wrote:
> On 09/14/2016 02:01 PM, Kyle Huey wrote:
>> Xen advertises the underlying support for CPUID faulting but not does pass
>> through writes to the relevant MSR, nor does it virtualize it, so it does
>> not actually work. For now mask off the relevant bit on MSR_PLATFORM_INFO.
> That needs to make it into a comment, please.
> That *is* a Xen bug, right?
This is probably fixed in the latest version of Xen. Andrew Cooper
would know for sure.
>> --- a/arch/x86/xen/enlighten.c
>> +++ b/arch/x86/xen/enlighten.c
>> @@ -1050,6 +1050,9 @@ static u64 xen_read_msr_safe(unsigned int msr, int
>> val &= ~X2APIC_ENABLE;
>> + case MSR_PLATFORM_INFO:
>> + val &= ~CPUID_FAULTING_SUPPORT;
>> + break;
>> return val;
> Does this mean that Xen guests effectively can't take advantage of this
PV guests only.
Xen-devel mailing list