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

Re: [Xen-devel] [PATCH v2] x86: clarify shadow paging Dom0 support



On Mon, Mar 27, 2017 at 02:20:17PM +0100, Andrew Cooper wrote:
> On 27/03/17 14:11, Wei Liu wrote:
> > @@ -456,6 +455,9 @@ int __init construct_dom0(struct domain *d, const 
> > module_t *image,
> >  
> >      process_pending_softirqs();
> >  
> > +    if ( opt_dom0_shadow && !dom0_pvh )
> > +        panic("Shadow paging Dom0 only works in PVH mode");
> 
> Is there any way to do this without panic?
> 
> For situations like this, it is much more useful for the server to boot
> in the wrong configuration, than to not boot at all.  At least if it
> boots in the wrong configuarion, you can still SSH in and edit the
> command line differently, rather than having to use a serial console or
> remote KVM.
> 

We can simply unset opt_dom0_shadow and print a message if you prefer.

Wei.

> ~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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