I would like to update the xen version on rawhide and probably also Fedora 18 to xen 4.2.0 , however libvirt links against some xen libraries whose versions have changed in xen 4.2 and when I looked a few months ago it seemed that libvirt didn't support the newer library versions.
Does anyone know what the current support status of libvirt for xen 4.2 is, and what work might be going on (if necessary) to add it?
Michael Young
On 09/17/2012 08:17 AM, M A Young wrote:
I would like to update the xen version on rawhide and probably also Fedora 18 to xen 4.2.0 , however libvirt links against some xen libraries whose versions have changed in xen 4.2 and when I looked a few months ago it seemed that libvirt didn't support the newer library versions.
Does anyone know what the current support status of libvirt for xen 4.2 is, and what work might be going on (if necessary) to add it?
libvirt.git has a few xen 4.2 fixes:
http://libvirt.org/git/?p=libvirt.git;a=commit;h=416eca189b1934cfa8575ab72d1... http://libvirt.org/git/?p=libvirt.git;a=commit;h=371ddc98664cbbd8542593e5452...
I'll be pushing libvirt F18 and rawhide updates this week which will contain those patches. I'll reply here when they go out.
Thanks, Cole
On 10/21/2012 01:27 PM, Cole Robinson wrote:
On 09/17/2012 08:17 AM, M A Young wrote:
I would like to update the xen version on rawhide and probably also Fedora 18 to xen 4.2.0 , however libvirt links against some xen libraries whose versions have changed in xen 4.2 and when I looked a few months ago it seemed that libvirt didn't support the newer library versions.
Does anyone know what the current support status of libvirt for xen 4.2 is, and what work might be going on (if necessary) to add it?
libvirt.git has a few xen 4.2 fixes:
http://libvirt.org/git/?p=libvirt.git;a=commit;h=416eca189b1934cfa8575ab72d1... http://libvirt.org/git/?p=libvirt.git;a=commit;h=371ddc98664cbbd8542593e5452...
I'll be pushing libvirt F18 and rawhide updates this week which will contain those patches. I'll reply here when they go out.
...or would it be best for you to push xen 4.2, override the buildroot, then I push libvirt? If that's so I can ping here when the libvirt 0.10.2 stable release is out which should be early this week.
- Cole
On Sun, 21 Oct 2012, Cole Robinson wrote:
On 09/17/2012 08:17 AM, M A Young wrote:
I would like to update the xen version on rawhide and probably also Fedora 18 to xen 4.2.0 , however libvirt links against some xen libraries whose versions have changed in xen 4.2 and when I looked a few months ago it seemed that libvirt didn't support the newer library versions.
Does anyone know what the current support status of libvirt for xen 4.2 is, and what work might be going on (if necessary) to add it?
libvirt.git has a few xen 4.2 fixes:
http://libvirt.org/git/?p=libvirt.git;a=commit;h=416eca189b1934cfa8575ab72d1... http://libvirt.org/git/?p=libvirt.git;a=commit;h=371ddc98664cbbd8542593e5452...
I'll be pushing libvirt F18 and rawhide updates this week which will contain those patches. I'll reply here when they go out.
From what I can tell, those patches are only a partial fix. They allow
libvirt to build against the older xen interface (via xend) but not against the newer libxl interface, so at the moment you would have to disable the libxl driver to get libvirt to build against 4.2.
Do you know if the libxl interface is used at the moment? If it is I think we probably ought to stick with xen 4.1 in Fedora 18 unless we know the libxl fixes are coming soon, though it may be worth updating rawhide to xen 4.2.
Incidentally I don't think the older xen interface has changed significantly between xen 4.1 and xen 4.2, so I expect libvirt compiled against xen 4.1 will still work against xen 4.2.
Michael Young
On 10/21/2012 06:17 PM, M A Young wrote:
On Sun, 21 Oct 2012, Cole Robinson wrote:
On 09/17/2012 08:17 AM, M A Young wrote:
I would like to update the xen version on rawhide and probably also Fedora 18 to xen 4.2.0 , however libvirt links against some xen libraries whose versions have changed in xen 4.2 and when I looked a few months ago it seemed that libvirt didn't support the newer library versions.
Does anyone know what the current support status of libvirt for xen 4.2 is, and what work might be going on (if necessary) to add it?
libvirt.git has a few xen 4.2 fixes:
http://libvirt.org/git/?p=libvirt.git;a=commit;h=416eca189b1934cfa8575ab72d1...
http://libvirt.org/git/?p=libvirt.git;a=commit;h=371ddc98664cbbd8542593e5452...
I'll be pushing libvirt F18 and rawhide updates this week which will contain those patches. I'll reply here when they go out.
From what I can tell, those patches are only a partial fix. They allow libvirt to build against the older xen interface (via xend) but not against the newer libxl interface, so at the moment you would have to disable the libxl driver to get libvirt to build against 4.2.
Do you know if the libxl interface is used at the moment? If it is I think we probably ought to stick with xen 4.1 in Fedora 18 unless we know the libxl fixes are coming soon, though it may be worth updating rawhide to xen 4.2.
I don't think the libxl driver gets much use, and it's trivial to turn off the libxl bits in the libvirt spec. I'd say do the rawhide build, I'll rebuild libvirt, and if there's no packaging hiccups feel free to push things to F18.
- Cole
On Wed, 24 Oct 2012, Cole Robinson wrote:
I don't think the libxl driver gets much use, and it's trivial to turn off the libxl bits in the libvirt spec. I'd say do the rawhide build, I'll rebuild libvirt, and if there's no packaging hiccups feel free to push things to F18.
Okay, I have built xen 4.2 on rawhide.
Michael Young
On 10/24/2012 08:32 PM, M A Young wrote:
On Wed, 24 Oct 2012, Cole Robinson wrote:
I don't think the libxl driver gets much use, and it's trivial to turn off the libxl bits in the libvirt spec. I'd say do the rawhide build, I'll rebuild libvirt, and if there's no packaging hiccups feel free to push things to F18.
Okay, I have built xen 4.2 on rawhide.
Michael Young
Thanks Michael, I've pushed a new libvirt build to rawhide.
- Cole
On Thu, 25 Oct 2012, Cole Robinson wrote:
On 10/24/2012 08:32 PM, M A Young wrote:
On Wed, 24 Oct 2012, Cole Robinson wrote:
I don't think the libxl driver gets much use, and it's trivial to turn off the libxl bits in the libvirt spec. I'd say do the rawhide build, I'll rebuild libvirt, and if there's no packaging hiccups feel free to push things to F18.
Okay, I have built xen 4.2 on rawhide.
Michael YoungThanks Michael, I've pushed a new libvirt build to rawhide.
Thanks for that. I think I will leave it a few days in case any problems emerge, then update F18 to 4.2 early next week, if that is okay for you.
Michael Young
On 10/25/2012 06:47 PM, M A Young wrote:
On Thu, 25 Oct 2012, Cole Robinson wrote:
On 10/24/2012 08:32 PM, M A Young wrote:
On Wed, 24 Oct 2012, Cole Robinson wrote:
I don't think the libxl driver gets much use, and it's trivial to turn off the libxl bits in the libvirt spec. I'd say do the rawhide build, I'll rebuild libvirt, and if there's no packaging hiccups feel free to push things to F18.
Okay, I have built xen 4.2 on rawhide.
Michael YoungThanks Michael, I've pushed a new libvirt build to rawhide.
Thanks for that. I think I will leave it a few days in case any problems emerge, then update F18 to 4.2 early next week, if that is okay for you.
I just pushed an F18 libvirt update that disables the libxl driver, so feel free to push xen 4.2 whenever works for you.
Thanks, Cole
On Thu, 2012-10-25 at 23:47 +0100, M A Young wrote:
On Thu, 25 Oct 2012, Cole Robinson wrote:
Thanks Michael, I've pushed a new libvirt build to rawhide.
Thanks for that. I think I will leave it a few days in case any problems emerge, then update F18 to 4.2 early next week, if that is okay for you.
Ok, so here's what I'm getting this morning, when 'yum update' tries to update Xen on my Fedora 18 beta to 4.2:
# sudo yum update Loaded plugins: langpacks, presto, refresh-packagekit Resolving Dependencies --> Running transaction check ---> Package xen.x86_64 0:4.1.3-4.fc18 will be updated ---> Package xen.x86_64 0:4.2.0-3.fc18 will be an update ---> Package xen-hypervisor.x86_64 0:4.1.3-4.fc18 will be updated ---> Package xen-hypervisor.x86_64 0:4.2.0-3.fc18 will be an update ---> Package xen-libs.x86_64 0:4.1.3-4.fc18 will be updated --> Processing Dependency: libxenctrl.so.4.0()(64bit) for package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 --> Processing Dependency: libxenguest.so.4.0()(64bit) for package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 --> Processing Dependency: libxenlight.so.1.0()(64bit) for package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 ---> Package xen-libs.x86_64 0:4.2.0-3.fc18 will be an update ---> Package xen-licenses.x86_64 0:4.1.3-4.fc18 will be updated ---> Package xen-licenses.x86_64 0:4.2.0-3.fc18 will be an update ---> Package xen-runtime.x86_64 0:4.1.3-4.fc18 will be updated ---> Package xen-runtime.x86_64 0:4.2.0-3.fc18 will be an update --> Finished Dependency Resolution Error: Package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 (@updates-testing) Requires: libxenlight.so.1.0()(64bit) Removing: xen-libs-4.1.3-4.fc18.x86_64 (@fedora) libxenlight.so.1.0()(64bit) Updated By: xen-libs-4.2.0-3.fc18.x86_64 (updates-testing) Not found Error: Package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 (@updates-testing) Requires: libxenctrl.so.4.0()(64bit) Removing: xen-libs-4.1.3-4.fc18.x86_64 (@fedora) libxenctrl.so.4.0()(64bit) Updated By: xen-libs-4.2.0-3.fc18.x86_64 (updates-testing) Not found Error: Package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 (@updates-testing) Requires: libxenguest.so.4.0()(64bit) Removing: xen-libs-4.1.3-4.fc18.x86_64 (@fedora) libxenguest.so.4.0()(64bit) Updated By: xen-libs-4.2.0-3.fc18.x86_64 (updates-testing) Not found You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
I installed this yesterday, and I installed Xen and libvirt via the following:
# yum install xen libvirt-daemon-xen
Also, I noticed that the libvirt-daemon-driver-libxl got installed (although I thought it shouldn't and wasn't :-O):
# rpm -qa | grep libxl libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64
Is that correct and aligned with the discussion we were having since now (i.e., going for Xen 4.2 but _without_ the libxl driver in libvirt)? Am I missing something or doing something wrong?
Thanks and Regards, Dario
On Tue, 2012-10-30 at 12:14 +0100, Dario Faggioli wrote:
# sudo yum update [...] Error: Package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 (@updates-testing) Requires: libxenlight.so.1.0()(64bit) Removing: xen-libs-4.1.3-4.fc18.x86_64 (@fedora) libxenlight.so.1.0()(64bit) Updated By: xen-libs-4.2.0-3.fc18.x86_64 (updates-testing) Not found Error: Package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 (@updates-testing) Requires: libxenctrl.so.4.0()(64bit) Removing: xen-libs-4.1.3-4.fc18.x86_64 (@fedora) libxenctrl.so.4.0()(64bit) Updated By: xen-libs-4.2.0-3.fc18.x86_64 (updates-testing) Not found Error: Package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 (@updates-testing) Requires: libxenguest.so.4.0()(64bit) Removing: xen-libs-4.1.3-4.fc18.x86_64 (@fedora) libxenguest.so.4.0()(64bit) Updated By: xen-libs-4.2.0-3.fc18.x86_64 (updates-testing) Not found You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Ok, that was, at least partially, my fault, as it turned out I had libvirt-daemon-driver-libxl installed. I removed it (making sure I have libvirt-daemon-driver-xen), and everything is fine now.
Now I'm seeing this:
# rpm -qi xen-hypervisor Name : xen-hypervisor Version : 4.2.0 ... # rpm -qi libvirt-daemon-driver-xen Name : libvirt-daemon-driver-xen Version : 0.10.2.1 ... # rpm -qi libvirt package libvirt is not installed
And, if I try to `yum install libvirt':
# yum install libvirt Loaded plugins: langpacks, presto, refresh-packagekit Resolving Dependencies --> Running transaction check ---> Package libvirt.x86_64 0:0.10.2.1-1.fc18 will be installed --> Processing Dependency: libvirt-daemon-driver-uml = 0.10.2.1-1.fc18 for package: libvirt-0.10.2.1-1.fc18.x86_64 --> Processing Dependency: libvirt-daemon-driver-lxc = 0.10.2.1-1.fc18 for package: libvirt-0.10.2.1-1.fc18.x86_64 --> Processing Dependency: libvirt-daemon-driver-libxl = 0.10.2.1-1.fc18 for package: libvirt-0.10.2.1-1.fc18.x86_64 --> Processing Dependency: libvirt-daemon-config-nwfilter = 0.10.2.1-1.fc18 for package: libvirt-0.10.2.1-1.fc18.x86_64 --> Running transaction check ---> Package libvirt-daemon-config-nwfilter.x86_64 0:0.10.2.1-1.fc18 will be installed ---> Package libvirt-daemon-driver-libxl.x86_64 0:0.10.2.1-1.fc18 will be installed --> Processing Dependency: libxenlight.so.1.0()(64bit) for package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 --> Processing Dependency: libxenguest.so.4.0()(64bit) for package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 --> Processing Dependency: libxenctrl.so.4.0()(64bit) for package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 ---> Package libvirt-daemon-driver-lxc.x86_64 0:0.10.2.1-1.fc18 will be installed ---> Package libvirt-daemon-driver-uml.x86_64 0:0.10.2.1-1.fc18 will be installed --> Finished Dependency Resolution Error: Package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 (updates-testing) Requires: libxenctrl.so.4.0()(64bit) Available: xen-libs-4.1.3-4.fc18.x86_64 (fedora) libxenctrl.so.4.0()(64bit) Installed: xen-libs-4.2.0-3.fc18.x86_64 (@updates-testing) Not found Error: Package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 (updates-testing) Requires: libxenlight.so.1.0()(64bit) Available: xen-libs-4.1.3-4.fc18.x86_64 (fedora) libxenlight.so.1.0()(64bit) Installed: xen-libs-4.2.0-3.fc18.x86_64 (@updates-testing) Not found Error: Package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 (updates-testing) Requires: libxenguest.so.4.0()(64bit) Available: xen-libs-4.1.3-4.fc18.x86_64 (fedora) libxenguest.so.4.0()(64bit) Installed: xen-libs-4.2.0-3.fc18.x86_64 (@updates-testing) Not found You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Is that expected?
Dario
On Wed, 31 Oct 2012, Dario Faggioli wrote:
... Error: Package: libvirt-daemon-driver-libxl-0.10.2.1-1.fc18.x86_64 (updates-testing) Requires: libxenctrl.so.4.0()(64bit) Available: xen-libs-4.1.3-4.fc18.x86_64 (fedora) libxenctrl.so.4.0()(64bit) Installed: xen-libs-4.2.0-3.fc18.x86_64 (@updates-testing) Not found ...
It should be okay once libvirt-0.10.2.1-2.fc18 gets to the updates-testing repository.
Michael Young