[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] [PATCH] Allow dom0 to write MSR IA32_ENERGY_PERF_BIAS



Jan Beulich wrote on 2011-01-04:
>> diff -r 4e108cf56d07 xen/arch/x86/traps.c
>> --- a/xen/arch/x86/traps.c   Mon Dec 27 08:00:09 2010 +0000
>> +++ b/xen/arch/x86/traps.c   Sat Jan 01 20:01:43 2011 +0800
>> @@ -2333,6 +2333,7 @@ static int emulate_privileged_op(struct
>>                  goto fail;
>>              break;
>>          case MSR_IA32_THERM_CONTROL:
>> +        case MSR_IA32_ENERGY_PERF_BIAS:
>>              if ( boot_cpu_data.x86_vendor != X86_VENDOR_INTEL )
>>                  goto fail;
>>              if ( (v->domain->domain_id != 0) ||
>> !v->domain->is_pinned
>> )
> 
> Why would you allow this only if Dom0 has its vcpus pinned?

It is meaningless if dom0 can't control all pcpus exactly. Only in case of dom0 
vcpus pinned, it makes sense.

Jimmy



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.