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@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to