Re: [Xen-devel] [PATCH for-next v3 7/9] x86: switch xen implementation to use hypervisor framework

2019-11-15 Thread Jan Beulich
On 21.10.2019 17:57, Wei Liu wrote: > @@ -31,9 +31,39 @@ bool hypervisor_probe(void) > if ( hops ) > return true; > > +/* Too early to use cpu_has_hypervisor */ > +if ( !(cpuid_ecx(1) & cpufeat_mask(X86_FEATURE_HYPERVISOR)) ) > +return false; > + > +#ifdef

Re: [Xen-devel] [PATCH for-next v3 7/9] x86: switch xen implementation to use hypervisor framework

2019-10-23 Thread Paul Durrant
On Mon, 21 Oct 2019 at 17:00, Wei Liu wrote: > > Take the chance to change probe_hypervisor to hypervisor_probe. > > Signed-off-by: Wei Liu Reviewed-by: Paul Durrant > --- > V3: > 1. Address Roger's comments > 2. Change xen_hypervisor_ops to xen_ops > --- > xen/arch/x86/guest/hypervisor.c

[Xen-devel] [PATCH for-next v3 7/9] x86: switch xen implementation to use hypervisor framework

2019-10-21 Thread Wei Liu
Take the chance to change probe_hypervisor to hypervisor_probe. Signed-off-by: Wei Liu --- V3: 1. Address Roger's comments 2. Change xen_hypervisor_ops to xen_ops --- xen/arch/x86/guest/hypervisor.c | 32 ++- xen/arch/x86/guest/xen/pvh-boot.c | 2 +-