[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 11/30] xen/x86: split Dom0 build into PV and PVHv2
>>> On 03.10.16 at 12:09, <roger.pau@xxxxxxxxxx> wrote: > I've added the following patch to my queue, in order to allow the user to > select whether they want to use HAP or shadow, I've tested it locally and > there seems to be no issues in building a PVHv2 Dom0 using shadow. Hmm, two remarks: For one, I'm not convinced of the need to move the definition. It being where it is now allows the string literal to be discarded post boot. And considering that the option has presumably been broken for PV for a long time and was never working for PVHv1, I'm also unconvinced using it (and hence retaining its existence) is a good idea - I'd much rather see "dom0hvm=hap" and "dom0hvm=shadow" supported along with the booleans which can be given to it right now. > --- a/xen/include/asm-x86/setup.h > +++ b/xen/include/asm-x86/setup.h > @@ -51,6 +51,12 @@ void microcode_grab_module( > > extern uint8_t kbd_shift_flags; > > +#ifdef CONFIG_SHADOW_PAGING > +extern bool opt_dom0_shadow; > +#else > +#define opt_dom0_shadow 0 Please use "false" here. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |