From 36595c9b4cbea049e3de9f1a8e992a8b24c14de20735cc50b87a3168702ee629 Mon Sep 17 00:00:00 2001 From: James Fehlig Date: Tue, 3 May 2016 21:55:59 +0000 Subject: [PATCH] Accepting request 393490 from home:jfehlig:branches:Virtualization - Update to libvirt 1.3.4 - Add support for migration data compression in QEMU driver - Drop libvirtd.socket - Many incremental improvements and bug fixes, see http://libvirt.org/news.html - Dropped patches: 216650f1-libxl-build-fix.patch, 6d8b6d28-mark-implicit-video-primary.patch, 03e8d5fb-qemu-perf-memory-corruption.patch, libvirtd-systemd-socket.patch OBS-URL: https://build.opensuse.org/request/show/393490 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=526 --- 03e8d5fb-qemu-perf-memory-corruption.patch | 33 - 216650f1-libxl-build-fix.patch | 34 - 6d8b6d28-mark-implicit-video-primary.patch | 914 --------------------- apparmor-fixes.patch | 6 +- apparmor-no-mount.patch | 6 +- blockcopy-check-dst-identical-device.patch | 8 +- libvirt-1.3.3.tar.gz | 3 - libvirt-1.3.3.tar.gz.asc | 7 - libvirt-1.3.4.tar.gz | 3 + libvirt-1.3.4.tar.gz.asc | 7 + libvirt-guests-init-script.patch | 18 +- libvirt-power8-models.patch | 6 +- libvirt-suse-netcontrol.patch | 46 +- libvirt.changes | 13 + libvirt.spec | 25 +- libvirtd-defaults.patch | 18 +- libvirtd-init-script.patch | 6 +- libvirtd-systemd-socket.patch | 28 - libxl-qemu-emulator-caps.patch | 6 +- libxl-support-block-script.patch | 12 +- lxc-wait-after-eth-del.patch | 24 +- ppc64le-canonical-name.patch | 6 +- qemu-apparmor-screenshot.patch | 6 +- support-managed-pci-xen-driver.patch | 12 +- suse-qemu-conf.patch | 6 +- systemd-service-xen.patch | 8 +- virtlockd-init-script.patch | 12 +- virtlogd-init-script.patch | 12 +- xen-pv-cdrom.patch | 6 +- xen-sxpr-disk-type.patch | 6 +- 30 files changed, 142 insertions(+), 1155 deletions(-) delete mode 100644 03e8d5fb-qemu-perf-memory-corruption.patch delete mode 100644 216650f1-libxl-build-fix.patch delete mode 100644 6d8b6d28-mark-implicit-video-primary.patch delete mode 100644 libvirt-1.3.3.tar.gz delete mode 100644 libvirt-1.3.3.tar.gz.asc create mode 100644 libvirt-1.3.4.tar.gz create mode 100644 libvirt-1.3.4.tar.gz.asc delete mode 100644 libvirtd-systemd-socket.patch diff --git a/03e8d5fb-qemu-perf-memory-corruption.patch b/03e8d5fb-qemu-perf-memory-corruption.patch deleted file mode 100644 index fb8c955..0000000 --- a/03e8d5fb-qemu-perf-memory-corruption.patch +++ /dev/null @@ -1,33 +0,0 @@ -commit 03e8d5fb54c7c897225ed9ea56d83b894930f144 -Author: Peter Krempa -Date: Thu Apr 7 12:50:15 2016 +0200 - - qemu: perf: Fix crash/memory corruption on failed VM start - - The new perf code didn't bother to clear a pointer in 'priv' causing a - double free or other memory corruption goodness if a VM failed to start. - - Clear the pointer after freeing the memory. - - Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1324757 - -Index: libvirt-1.3.3/src/qemu/qemu_process.c -=================================================================== ---- libvirt-1.3.3.orig/src/qemu/qemu_process.c -+++ libvirt-1.3.3/src/qemu/qemu_process.c -@@ -3444,6 +3444,7 @@ qemuDomainPerfRestart(virDomainObjPtr vm - - cleanup: - virPerfFree(priv->perf); -+ priv->perf = NULL; - return -1; - } - -@@ -5959,6 +5960,7 @@ void qemuProcessStop(virQEMUDriverPtr dr - virCgroupFree(&priv->cgroup); - - virPerfFree(priv->perf); -+ priv->perf = NULL; - - qemuProcessRemoveDomainStatus(driver, vm); - diff --git a/216650f1-libxl-build-fix.patch b/216650f1-libxl-build-fix.patch deleted file mode 100644 index 0742c79..0000000 --- a/216650f1-libxl-build-fix.patch +++ /dev/null @@ -1,34 +0,0 @@ -commit 216650f14b35ad11a45505405347f8027bc294d7 -Author: Wei Liu -Date: Tue Apr 5 15:20:12 2016 +0100 - - libxl: libxl_domain_create_restore has an extra argument - - In the latest libxenlight code, libxl_domain_create_restore accepts a - new argument. Update libvirt's libxl driver for that. Use the macro - provided by libxenlight to detect which version should be used. - - The new parameter (send_back_fd) is set to -1 because libvirt provides - no such fd. - - Signed-off-by: Wei Liu - Message-id: 1459866012-27081-1-git-send-email-wei.liu2@citrix.com - -Index: libvirt-1.3.3/src/libxl/libxl_domain.c -=================================================================== ---- libvirt-1.3.3.orig/src/libxl/libxl_domain.c -+++ libvirt-1.3.3/src/libxl/libxl_domain.c -@@ -1070,7 +1070,12 @@ libxlDomainStart(libxlDriverPrivatePtr d - ret = libxl_domain_create_new(cfg->ctx, &d_config, - &domid, NULL, &aop_console_how); - } else { --#ifdef LIBXL_HAVE_DOMAIN_CREATE_RESTORE_PARAMS -+#if defined(LIBXL_HAVE_DOMAIN_CREATE_RESTORE_SEND_BACK_FD) -+ params.checkpointed_stream = 0; -+ ret = libxl_domain_create_restore(cfg->ctx, &d_config, &domid, -+ restore_fd, -1, ¶ms, NULL, -+ &aop_console_how); -+#elif defined(LIBXL_HAVE_DOMAIN_CREATE_RESTORE_PARAMS) - params.checkpointed_stream = 0; - ret = libxl_domain_create_restore(cfg->ctx, &d_config, &domid, - restore_fd, ¶ms, NULL, diff --git a/6d8b6d28-mark-implicit-video-primary.patch b/6d8b6d28-mark-implicit-video-primary.patch deleted file mode 100644 index 24bf581..0000000 --- a/6d8b6d28-mark-implicit-video-primary.patch +++ /dev/null @@ -1,914 +0,0 @@ -commit 6d8b6d2847f31a3d7a234536c12b8feca751a02f -Author: Ján Tomko -Date: Mon Apr 11 14:26:06 2016 +0200 - - conf: also mark the implicit video as primary - - Commit 119cd06 started setting the primary bool for the first - user-specified video even if user omitted the 'primary' attribute. - - However this was done before the addition of the implicit device. - This broke startup of transient qemu domains with no