WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] [qemu] xen_be_init under stubdom

On Thu, 20 Jan 2011, Ian Jackson wrote:
> Stefano Stabellini writes ("Re: [Xen-devel] [PATCH] [qemu] xen_be_init under 
> stubdom"):
> > the current xen_backend code in qemu cannot handle being run in a
> > stubdom, for example:
> > 
> > dom0 = xs_get_domain_path(xenstore, 0);
> 
> Well, fine, then it will fall over.  I don't see why we need to
> special-case anything.
 
It depends on how it fails.
And in any case, isn't it better to explicitly avoid running any code
that we know for sure it cannot run? So that the next person that looks
at this code doesn't assume that the backends are run in the stubdom too
before realizing that they actually fail to start?

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel