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

Re: [Xen-devel] [PATCH v2 03/12] x86/HVM: Hardware alternate p2m support detection.



>>> On 24.06.15 at 11:44, <andrew.cooper3@xxxxxxxxxx> wrote:
> On 22/06/15 19:56, Ed White wrote:
>> @@ -6474,6 +6481,11 @@ enum hvm_intblk nhvm_interrupt_blocked(struct vcpu *v)
>>      return hvm_funcs.nhvm_intr_blocked(v);
>>  }
>>  
>> +bool_t hvm_altp2m_supported()
>> +{
>> +    return hvm_funcs.altp2m_supported;
>> +}
> 
> I would put this as a static inline in hvm.h, as opposed to forcing a
> call into a different translation unit to retrieve a global boolean.

+1

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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