From 91c51f0294104d40af456a25ff019555f2c4d12c7348a74692f93b5a229b97f7 Mon Sep 17 00:00:00 2001 From: James Fehlig Date: Mon, 8 May 2017 17:35:46 +0000 Subject: [PATCH] Accepting request 493518 from home:jfehlig:branches:Virtualization Update to libvirt 3.3.0 final - Update to libvirt 3.3.0 - Many incremental improvements and bug fixes, see http://libvirt.org/news.html - Bug fixes: bsc#978121, bsc#1017017, bsc#1032863, bsc#1033117, bsc#1034024, bsc#1034146, bsc#1035995 - libxl: updated libxl-def-usbctrl.patch bsc#1031056 OBS-URL: https://build.opensuse.org/request/show/493518 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=601 --- libvirt-3.3.0.tar.xz | 4 +-- libvirt-3.3.0.tar.xz.asc | 15 ++++----- libvirt.changes | 12 +++++++ libxl-def-usbctrl.patch | 48 +++++++++++++++------------ libxl-set-migration-constraints.patch | 2 +- 5 files changed, 49 insertions(+), 32 deletions(-) diff --git a/libvirt-3.3.0.tar.xz b/libvirt-3.3.0.tar.xz index cc28606..95770b1 100644 --- a/libvirt-3.3.0.tar.xz +++ b/libvirt-3.3.0.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ad7af06eca75aee2e347618157fd392f1fef3f4eec275110a6cf1b61b5ca446f -size 13985032 +oid sha256:29e00984174e33cf2183b478382c017de26860452ffee17b73871051264ebb1b +size 14043384 diff --git a/libvirt-3.3.0.tar.xz.asc b/libvirt-3.3.0.tar.xz.asc index 3defb0c..ae4c8f9 100644 --- a/libvirt-3.3.0.tar.xz.asc +++ b/libvirt-3.3.0.tar.xz.asc @@ -1,11 +1,10 @@ -----BEGIN PGP SIGNATURE----- -iQEzBAABCAAdFiEEjUiKECNx2wGgDcvNZNVaFdrgLsAFAlkDS5gACgkQZNVaFdrg -LsDmOwf/eajUbk983Ka+iLGHgCul13X3u90UeOkCeqF1Ek95/driVMTOrY9sAHLP -luBavdmsCUQS3y3mzv5h/pJMt9IQq7NSA01PxLExEJWbULIzULr7ac+SoNZe6l9v -DPKmW9x/Zg0C5G4i0AFfq6exitjPKOA/p+kukHEHCQ5r1jkgSv09zxch9nEfa0PU -VuJ/nQga/ePLpW2Kk8yvawY0JjCaU6FTdk5u+iHAY+U4Z/ryYqe+35cbDQHSkgbg -jHgY0WZC22fxq+BIyBNO/bxawdIeDQcv66HYJodLZxM4HdvcpNuBF67zEO7vF0XF -lKFyN94x5uBpqjT0JVbhkHbWENkp9w== -=0rmS +iQEcBAABAgAGBQJZDNY6AAoJEBVYiyZZa+pdBgEIAKfTozMEi/ZI2NTtpjoZXzDn +gGcSEAZUJj3Chp9LkY/daAgL8RCNKU3c9Y/QgmTflJYEsAZsIRW9rJ3zsCHfPnC1 +rty3NulfCujrsLsZEqXHADjbmiTQ/H7WUoStIPBYLkERxrZ+qQ0egsA6qSqe8hy5 +6u/cXm8Yav9QvIfp8ikdKcJl+SUQT/yGXXzR7udr/ra8rCfqgvJqKkg+NDLNXB17 +kAz4guvjivfAOEel1RASoTyvnXjLzMtG4InfTz0+8cGomLDS1sWmCW+gW519juPm +6TaHbQ1hDnLZvCy3h7TmeUJxLgvyV8Ul2VlZRCytXlJ//IcVlvgDq2+7SpBvjgA= +=fQOM -----END PGP SIGNATURE----- diff --git a/libvirt.changes b/libvirt.changes index 8627c04..7a4ba34 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon May 8 16:44:59 UTC 2017 - jfehlig@suse.com + +- Update to libvirt 3.3.0 + - Many incremental improvements and bug fixes, see + http://libvirt.org/news.html + - Bug fixes: + bsc#978121, bsc#1017017, bsc#1032863, bsc#1033117, bsc#1034024, + bsc#1034146, bsc#1035995 +- libxl: updated libxl-def-usbctrl.patch + bsc#1031056 + ------------------------------------------------------------------- Fri Apr 28 03:30:51 UTC 2017 - jfehlig@suse.com diff --git a/libxl-def-usbctrl.patch b/libxl-def-usbctrl.patch index 7cd43e6..e2d1a54 100644 --- a/libxl-def-usbctrl.patch +++ b/libxl-def-usbctrl.patch @@ -1,29 +1,33 @@ -commit b020800a3930aa2bd40855548c442846716d88f1 -Author: Jim Fehlig -Date: Tue Mar 28 17:34:16 2017 -0600 +From c55c2ba0a26b0074e73f281810ad3e4a70bc4910 Mon Sep 17 00:00:00 2001 +From: Jim Fehlig +Date: Tue, 28 Mar 2017 17:34:16 -0600 +Subject: [PATCH] libxl: add default controllers for USB devices - libxl: add default controllers for USB devices - - Attempting to start a domain with USB hostdevs but no USB controllers - fails with the rather cryptic error - - libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an - error message from QMP server: Bus 'xenusb-0.0' not found - - This can be fixed by creating default USB controllers. When no USB - controllers are defined, create the number of 8 port controllers - necessary to accommodate the number of defined USB devices. - - Note that USB controllers are already created as needed in the - domainAttachDevice code path. E.g. a USB controller will be created, - if necessary, when attaching a USB device with - 'virsh attach-device dom usbdev.xml'. +Attempting to start a domain with USB hostdevs but no USB controllers +fails with the rather cryptic error + +libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an +error message from QMP server: Bus 'xenusb-0.0' not found + +This can be fixed by creating default USB controllers. When no USB +controllers are defined, create the number of 8 port controllers +necessary to accommodate the number of defined USB devices. + +Note that USB controllers are already created as needed in the +domainAttachDevice code path. E.g. a USB controller will be created, +if necessary, when attaching a USB device with +'virsh attach-device dom usbdev.xml'. + +Signed-off-by: Jim Fehlig +--- + src/libxl/libxl_conf.c | 82 +++++++++++++++++++++++++++++++++++++++++++------- + 1 file changed, 71 insertions(+), 11 deletions(-) Index: libvirt-3.3.0/src/libxl/libxl_conf.c =================================================================== --- libvirt-3.3.0.orig/src/libxl/libxl_conf.c +++ libvirt-3.3.0/src/libxl/libxl_conf.c -@@ -1822,34 +1822,92 @@ libxlMakeUSBController(virDomainControll +@@ -1822,34 +1822,94 @@ libxlMakeUSBController(virDomainControll } static int @@ -64,7 +68,9 @@ Index: libvirt-3.3.0/src/libxl/libxl_conf.c + if (libxlMakeUSBController(l_controller, &x_controllers[i]) < 0) + goto error; + -+ virDomainControllerInsertPreAlloced(def, l_controller); ++ if (virDomainControllerInsert(def, l_controller) < 0) ++ goto error; ++ + l_controller = NULL; + } + diff --git a/libxl-set-migration-constraints.patch b/libxl-set-migration-constraints.patch index f89a218..ed34f55 100644 --- a/libxl-set-migration-constraints.patch +++ b/libxl-set-migration-constraints.patch @@ -378,7 +378,7 @@ Index: libvirt-3.3.0/tools/virsh.pod =================================================================== --- libvirt-3.3.0.orig/tools/virsh.pod +++ libvirt-3.3.0/tools/virsh.pod -@@ -1752,6 +1752,14 @@ compression. I<--comp-mt-threads> and I< +@@ -1753,6 +1753,14 @@ compression. I<--comp-mt-threads> and I< of compress threads on source and the number of decompress threads on target respectively. I<--comp-xbzrle-cache> sets size of page cache in bytes.