Re: [Xen-devel] [PATCH v6 02/10] x86/hvm/domain: remove the 'hap_enabled' flag

2019-08-27 Thread Paul Durrant
an > Beulich > ; Roger Pau Monne > Subject: Re: [Xen-devel] [PATCH v6 02/10] x86/hvm/domain: remove the > 'hap_enabled' flag > > On 23/08/2019 13:23, Andrew Cooper wrote: > > On 16/08/2019 18:19, Paul Durrant wrote: > >> The hap_enabled() macro can det

Re: [Xen-devel] [PATCH v6 02/10] x86/hvm/domain: remove the 'hap_enabled' flag

2019-08-23 Thread Andrew Cooper
On 23/08/2019 13:23, Andrew Cooper wrote: > On 16/08/2019 18:19, Paul Durrant wrote: >> The hap_enabled() macro can determine whether the feature is available >> using the domain 'options'; there is no need for a separate flag. >> >> NOTE: Furthermore, by extending sanitiziing of the domain 'option

Re: [Xen-devel] [PATCH v6 02/10] x86/hvm/domain: remove the 'hap_enabled' flag

2019-08-23 Thread Andrew Cooper
On 16/08/2019 18:19, Paul Durrant wrote: > The hap_enabled() macro can determine whether the feature is available > using the domain 'options'; there is no need for a separate flag. > > NOTE: Furthermore, by extending sanitiziing of the domain 'options', the s/ii/i/ > diff --git a/xen/arch/x86/do

Re: [Xen-devel] [PATCH v6 02/10] x86/hvm/domain: remove the 'hap_enabled' flag

2019-08-23 Thread Roger Pau Monné
On Fri, Aug 16, 2019 at 06:19:53PM +0100, Paul Durrant wrote: > The hap_enabled() macro can determine whether the feature is available > using the domain 'options'; there is no need for a separate flag. > > NOTE: Furthermore, by extending sanitiziing of the domain 'options', the > macro can

[Xen-devel] [PATCH v6 02/10] x86/hvm/domain: remove the 'hap_enabled' flag

2019-08-16 Thread Paul Durrant
The hap_enabled() macro can determine whether the feature is available using the domain 'options'; there is no need for a separate flag. NOTE: Furthermore, by extending sanitiziing of the domain 'options', the macro can be transformed into an inline function and re-located to xen/sched