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

Re: [Xen-devel] [PATCH] allow xendomains to work for xl list -l



On Thu, 2013-04-11 at 23:06 +0100, M A Young wrote:
> On Wed, 10 Apr 2013, Ian Campbell wrote:
> 
> >>  and accepts the "Xen saved
> >> domain" as a valid header for a saved xen image if xl is being used.
> >
> > This bit sounds independently useful too. ISTR someone else sending a
> > similar patch but it fell through the cracks for some reason which I
> > don't remember and I can't find it now.
> 
> I have thought about this further, and since xm only reads files with the 
> "LinuxGuestRecord" header and xl only reads files with the "Xen saved 
> domain" header should we be trying to use whichever of xm or xl matches 
> the header (assuming it works) regardless of which one we chose at the 
> start of the xendomains script.

I don't think so, if xend is running then using xl is not
recommended/supported and vice versa. So if xemdomains things one is in
use it shouldn't use the other.

You could perhaps make xendomains print a suitable message but I suppose
xm and xl will both fail on each others format anyway, although perhaps
not with a very useful message?

I'd be happy to see an xl patch which detects xm format save files and
prints something informative, and even happier if there was some
conversion routine (which might be non-trivial though, I haven't looked)

Ian.


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


 


Rackspace

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