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

Re: [Xen-devel] Xen 4.2.0, xl toolstack cant launch older domUs

2012/11/19 Ian Campbell <Ian.Campbell@xxxxxxxxxx>
On Fri, 2012-11-16 at 17:01 +0000, Ian Jackson wrote:
> George Dunlap writes ("Re: [Xen-devel] Xen 4.2.0, xl toolstack cant launch older domUs"):
> > On Mon, Oct 15, 2012 at 8:56 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> > >> > It appears that xend includes some sort of workaround for this which xl
> > >> > does not.
> ...
> This relates to writing
>   /local/domain/$(xl domid lightning)/device/vbd/51713/protocol x86_32-abi
> > I suppose this kind of thing should be tracked, to make sure it
> > doesn't fall on the floor.  I'll add it to my list (with no owner
> > ATM).
> Did this ever get fixed ?


The xc dombuild has a concept of the "native_protocol" for the guest
which it has just built, you'd want to add a mechanism to feed this back
out to libxl and remember it somewhere for use when adding the devices.

A bit of a pain but not too hard I don't think.

e.g. in libxl__build_pv you have struct xc_dom_image *dom and can read
dom->arch_hooks->native_protocol (this is what xend does).

I'm not sure what the equivalent for hvm guests would be. Perhaps they
are required to right it themselves, since you can't know a priori what
sort of kernel they will load. Actually a PV guest is expected to right
it to and doing it in the toolstack is just a workaround for broken



I suppose that this is not still fixed in Xen 4.2.1?

- Valtteri
Xen-devel mailing list



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