[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 19/21] xen/arm: introduce create_domUs



On Mon, 16 Jul 2018, Jan Beulich wrote:
> >>> On 07.07.18 at 01:12, <sstabellini@xxxxxxxxxx> wrote:
> > --- a/xen/include/asm-x86/setup.h
> > +++ b/xen/include/asm-x86/setup.h
> > @@ -73,4 +73,6 @@ extern bool opt_dom0_shadow;
> >  #endif
> >  extern bool dom0_pvh;
> >  
> > +#define max_init_domid (1)
> 
> Why is this 1 rather than 0? Or is the name imprecise?

Yeah, the name is imprecise. On x86 there is always only dom0 at boot,
so this variable is set to 0+1 = 1. I can change the variable to
actually match the name, so that on a system with only dom0 at boot,
max_init_domid would be (0). It makes more sense that way.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.