Re: [Xen-devel] [PATCH 12/17] x86: connect guest creation with CONFIG_PV

2018-10-16 Thread Wei Liu
On Fri, Oct 12, 2018 at 09:09:28AM -0600, Jan Beulich wrote: > >>> On 04.10.18 at 17:43, wrote: > > --- a/xen/common/domain.c > > +++ b/xen/common/domain.c > > @@ -322,17 +322,34 @@ struct domain *domain_create(domid_t domid, > > } > > > > /* Sort out our idea of is_{pv,hvm}_domain().

Re: [Xen-devel] [PATCH 12/17] x86: connect guest creation with CONFIG_PV

2018-10-12 Thread Jan Beulich
>>> On 04.10.18 at 17:43, wrote: > --- a/xen/common/domain.c > +++ b/xen/common/domain.c > @@ -322,17 +322,34 @@ struct domain *domain_create(domid_t domid, > } > > /* Sort out our idea of is_{pv,hvm}_domain(). */ > -if ( config && (config->flags & XEN_DOMCTL_CDF_hvm_guest) ) > +

[Xen-devel] [PATCH 12/17] x86: connect guest creation with CONFIG_PV

2018-10-04 Thread Wei Liu
This is a bit more complicated than the HVM case because system domains have PV guest type. Instead of inventing a new guest type, we still set system domains' type to PV. This shouldn't really matter in practice. Signed-off-by: Wei Liu --- xen/common/domain.c | 21 +++-- 1 file