Bug#698093: [Pkg-libvirt-maintainers] Bug#698093: libvirt-bin: Enable Xen libxl backend

2013-01-23 Thread Guido Günther
On Wed, Jan 23, 2013 at 04:12:06PM -0500, 小龙 陈 wrote:
> 
> > Date: Mon, 21 Jan 2013 08:09:57 +0100
> > From: a...@sigxcpu.org
> > To: chillermillerl...@hotmail.com
> > CC: 698...@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  


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698093: [Pkg-libvirt-maintainers] Bug#698093: libvirt-bin: Enable Xen libxl backend

2013-01-20 Thread Guido Günther
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

> 
> Cheers,
> Xiao-Long Chen
> 
> > > that any existing libvirt configuration for xen wouldhave xend started
> > > automatically as it is required?
> > No. Libvirt doesn't setup the hypervisor it "only" looks for available
> > ones.
> > Cheers,
> > -- Guido
> > 
> > > Cheers,Xiao-Long Chen   


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698093: [Pkg-libvirt-maintainers] Bug#698093: libvirt-bin: Enable Xen libxl backend

2013-01-20 Thread 小龙 陈
> Date: Sun, 20 Jan 2013 10:26:42 +0100
> From: a...@sigxcpu.org
> To: chillermillerl...@hotmail.com
> CC: 698...@bugs.debian.org
> Subject: Re: [Pkg-libvirt-maintainers] Bug#698093: libvirt-bin: Enable Xen 
> libxl backend
> 
> On Sun, Jan 20, 2013 at 04:06:12AM -0500, 小龙 陈 wrote:
> > > Date: Mon, 14 Jan 2013 08:14:46 +0100
> > > From: a...@sigxcpu.org
> > > To: chillermillerl...@hotmail.com; 698...@bugs.debian.org
> > > Subject: Re: [Pkg-libvirt-maintainers] Bug#698093: libvirt-bin: Enable 
> > > Xen libxl backend
> > > 
> > > On Sun, Jan 13, 2013 at 07:05:12PM -0500, Xiao-Long Chen wrote:
> > > > Package: libvirt-bin
> > > > Version: 1.0.0-0ubuntu4ppa1~raring1
> > > 
> > > Please don't file bugs against Ubuntu versions.
> > Sorry about that. I should have read the guidelines for bug reporting in 
> > Debian.
> > > 
> > > > Severity: normal
> > > > 
> > > > Please enable the libxl backend for Xen in libvirt. Version 1.0.0 and 
> > > > above
> > > > support this backend. Xen is already deprecating the old xm/xend 
> > > > toolstack in
> > > > Xen 4.2 and is moving to the xl toolstack.
> > > 
> > > It's not that simple. We need to offer a migration path for existing
> > > configurations. Do you want to work on that?
> > > Cheers,
> > > -- Guido
> > > 
> > 
> > Would migration be necessary? As far as I know, libvirt will
> > automaticallyfall back to the current xen driver if xend is running.
> > It will only use xl ifxend is not started. > Am I correct to assume
> Did you try this? Last time I checked the libxml driver would take
> precedence over xend.
>

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.

Of course, just because something is in the source doesn't mean it works
correctly :) I'll test it to make sure.

Cheers,
Xiao-Long Chen

> > that any existing libvirt configuration for xen wouldhave xend started
> > automatically as it is required?
> No. Libvirt doesn't setup the hypervisor it "only" looks for available
> ones.
> Cheers,
> -- Guido
> 
> > Cheers,Xiao-Long Chen 

Bug#698093: [Pkg-libvirt-maintainers] Bug#698093: libvirt-bin: Enable Xen libxl backend

2013-01-20 Thread Guido Günther
On Sun, Jan 20, 2013 at 04:06:12AM -0500, 小龙 陈 wrote:
> > Date: Mon, 14 Jan 2013 08:14:46 +0100
> > From: a...@sigxcpu.org
> > To: chillermillerl...@hotmail.com; 698...@bugs.debian.org
> > Subject: Re: [Pkg-libvirt-maintainers] Bug#698093: libvirt-bin: Enable Xen 
> > libxl backend
> > 
> > On Sun, Jan 13, 2013 at 07:05:12PM -0500, Xiao-Long Chen wrote:
> > > Package: libvirt-bin
> > > Version: 1.0.0-0ubuntu4ppa1~raring1
> > 
> > Please don't file bugs against Ubuntu versions.
> Sorry about that. I should have read the guidelines for bug reporting in 
> Debian.
> > 
> > > Severity: normal
> > > 
> > > Please enable the libxl backend for Xen in libvirt. Version 1.0.0 and 
> > > above
> > > support this backend. Xen is already deprecating the old xm/xend 
> > > toolstack in
> > > Xen 4.2 and is moving to the xl toolstack.
> > 
> > It's not that simple. We need to offer a migration path for existing
> > configurations. Do you want to work on that?
> > Cheers,
> >  -- Guido
> > 
> 
> Would migration be necessary? As far as I know, libvirt will
> automaticallyfall back to the current xen driver if xend is running.
> It will only use xl ifxend is not started.  > Am I correct to assume
Did you try this? Last time I checked the libxml driver would take
precedence over xend.

> that any existing libvirt configuration for xen wouldhave xend started
> automatically as it is required?
No. Libvirt doesn't setup the hypervisor it "only" looks for available
ones.
Cheers,
 -- Guido

> Cheers,Xiao-Long Chen   


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698093: [Pkg-libvirt-maintainers] Bug#698093: libvirt-bin: Enable Xen libxl backend

2013-01-20 Thread 小龙 陈
> Date: Mon, 14 Jan 2013 08:14:46 +0100
> From: a...@sigxcpu.org
> To: chillermillerl...@hotmail.com; 698...@bugs.debian.org
> Subject: Re: [Pkg-libvirt-maintainers] Bug#698093: libvirt-bin: Enable Xen 
> libxl backend
> 
> On Sun, Jan 13, 2013 at 07:05:12PM -0500, Xiao-Long Chen wrote:
> > Package: libvirt-bin
> > Version: 1.0.0-0ubuntu4ppa1~raring1
> 
> Please don't file bugs against Ubuntu versions.
Sorry about that. I should have read the guidelines for bug reporting in Debian.
> 
> > Severity: normal
> > 
> > Please enable the libxl backend for Xen in libvirt. Version 1.0.0 and above
> > support this backend. Xen is already deprecating the old xm/xend toolstack 
> > in
> > Xen 4.2 and is moving to the xl toolstack.
> 
> It's not that simple. We need to offer a migration path for existing
> configurations. Do you want to work on that?
> Cheers,
>  -- Guido
> 

Would migration be necessary? As far as I know, libvirt will automaticallyfall 
back to the current xen driver if xend is running. It will only use xl ifxend 
is not started.
Am I correct to assume that any existing libvirt configuration for xen 
wouldhave xend started automatically as it is required?
Cheers,Xiao-Long Chen 

Bug#698093: [Pkg-libvirt-maintainers] Bug#698093: libvirt-bin: Enable Xen libxl backend

2013-01-13 Thread Guido Günther
On Sun, Jan 13, 2013 at 07:05:12PM -0500, Xiao-Long Chen wrote:
> Package: libvirt-bin
> Version: 1.0.0-0ubuntu4ppa1~raring1

Please don't file bugs against Ubuntu versions.

> Severity: normal
> 
> Please enable the libxl backend for Xen in libvirt. Version 1.0.0 and above
> support this backend. Xen is already deprecating the old xm/xend toolstack in
> Xen 4.2 and is moving to the xl toolstack.

It's not that simple. We need to offer a migration path for existing
configurations. Do you want to work on that?
Cheers,
 -- Guido


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org