On 16/11/16 15:53, Jan Beulich wrote:
On 16.11.16 at 13:31, wrote:
>> @@ -961,13 +962,38 @@ int cpuid_hypervisor_leaves( uint32_t idx, uint32_t
>> sub_idx,
>> }
>> break;
>>
>> -case 4:
>> -if ( !has_hvm_container_domain(currd) )
>> +case 4: /* HVM hypervi
>>> On 16.11.16 at 13:31, wrote:
> @@ -961,13 +962,38 @@ int cpuid_hypervisor_leaves( uint32_t idx, uint32_t
> sub_idx,
> }
> break;
>
> -case 4:
> -if ( !has_hvm_container_domain(currd) )
> +case 4: /* HVM hypervisor leaf. */
> +if ( !has_hvm_container
This reduces the net complexity of CPUID handling by having all adjustments in
at the same place. Remove the now-unused hvm_funcs.hypervisor_cpuid_leaf()
infrastructure.
Signed-off-by: Andrew Cooper
---
CC: Jan Beulich
CC: Jun Nakajima
CC: Kevin Tian
---
xen/arch/x86/hvm/hvm.c| 22 --