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

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


 


Rackspace

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