[Pkg-libvirt-maintainers] Bug#698093: Bug#698093: libvirt-bin: Enable Xen libxl backend
Guido Günther
agx at sigxcpu.org
Thu Jan 24 07:18:29 UTC 2013
On Wed, Jan 23, 2013 at 04:12:06PM -0500, 小龙 陈 wrote:
> ----------------------------------------
> > Date: Mon, 21 Jan 2013 08:09:57 +0100
> > From: agx at sigxcpu.org
> > To: chillermillerlong at hotmail.com
> > CC: 698093 at bugs.debian.org
> > Subject: Re: [Pkg-libvirt-maintainers] Bug#698093: libvirt-bin: Enable Xen libxl backend
> >
> > On Sun, Jan 20, 2013 at 02:08:28PM -0500, 小龙 陈 wrote:
> > [..snip..]
> > > I've tried it in another distro, but I haven't tested it in Debian yet. I'll
> > > test it later today. But if you look at the source code:
> > >
> > > http://libvirt.org/git/?p=libvirt.git;a=blob;f=src/libxl/libxl_driver.c;h=a8c4cae0e509a09e76ea344e3c0826cea04bfd71;hb=HEAD#l971
> > >
> > > On line 971, libvirt will run "/usr/sbin/xend status" to check if xend is
> > > running. If so, libxl falls back to xend.
> >
> > Ahh...very good!
> >
> > >
> > > Of course, just because something is in the source doesn't mean it works
> > > correctly :) I'll test it to make sure.
> >
> > At least if it doesn't work we know where to start fixing. Thanks for
> > checking!
> > Cheers,
> > -- Guido
> >
>
> There's good news and bad news!
>
> Good news:
> The fallback works just fine if libvirt is patched to run:
>
> /usr/lib/xen-4.2/bin/xend status
>
> instead of:
>
> /usr/sbin/xend status
O.k. that's easy to fix.
>
> libvirt uses the xend backend just like it does now.
>
> Bad news:
>
> libvirt's libxl backend and Xen 4.2.1 are current broken. If the user
> *explicitly chooses* to use libxl, it will fail.
>
> However, there are patches to fix the issue and they are awaiting review.
> The next release of libvirt and xen should fix the issue :)
>
> I think we should leave this bug open and deal with it after the new releases.
Thanks for testing! Let me know when it works for you. Xen 4.2 is only
in experimental at the moment and I'd rather keep the list of deps from
experimental short until wheezy is released.`
Cheers,
-- Guido
>
> Cheers,
> Xiao-Long Chen
More information about the Pkg-libvirt-maintainers
mailing list