On 22/12/15 17:11, Jan Beulich wrote:
On 16.12.15 at 22:24, wrote:
>> @@ -22,6 +24,27 @@ void __init calculate_featuresets(void)
>>
>> /* Unconditionally claim to be able to set the hypervisor bit. */
>> __set_bit(X86_FEATURE_HYPERVISOR, pv_featureset);
>> +
>> +/* HVM feature
>>> On 16.12.15 at 22:24, wrote:
> @@ -22,6 +24,27 @@ void __init calculate_featuresets(void)
>
> /* Unconditionally claim to be able to set the hypervisor bit. */
> __set_bit(X86_FEATURE_HYPERVISOR, pv_featureset);
> +
> +/* HVM featureset. */
> +if ( hvm_enabled )
> +{
>
For HVM guests, there are two different featuresets, depending on whether hap
or shadow mode is used.
HVM Shadow guests are strictly more capable than PV guests, and HVM HAP are
strictly more capable than HVM Shadow; this is represented in the way the HVM
shadow and HAP masks are expressed.
Signe