Re: [PATCH 5/8] x86/hvm: Obsolete the use of HVM_PARAM_NESTEDHVM

2020-10-01 Thread Wei Liu
On Wed, Sep 30, 2020 at 02:42:45PM +0100, Andrew Cooper wrote: > With XEN_DOMCTL_CDF_nested_virt now passed properly to domain_create(), > reimplement nestedhvm_enabled() to use the property which is fixed for the > lifetime of the domain. > > This makes the call to nestedhvm_vcpu_initialise() fro

Re: [PATCH 5/8] x86/hvm: Obsolete the use of HVM_PARAM_NESTEDHVM

2020-10-01 Thread Roger Pau Monné
On Wed, Sep 30, 2020 at 02:42:45PM +0100, Andrew Cooper wrote: > With XEN_DOMCTL_CDF_nested_virt now passed properly to domain_create(), > reimplement nestedhvm_enabled() to use the property which is fixed for the > lifetime of the domain. > > This makes the call to nestedhvm_vcpu_initialise() fro

[PATCH 5/8] x86/hvm: Obsolete the use of HVM_PARAM_NESTEDHVM

2020-09-30 Thread Andrew Cooper
With XEN_DOMCTL_CDF_nested_virt now passed properly to domain_create(), reimplement nestedhvm_enabled() to use the property which is fixed for the lifetime of the domain. This makes the call to nestedhvm_vcpu_initialise() from hvm_vcpu_initialise() no longer dead. It became logically dead with th