SHA256
1
0
forked from pool/libvirt

Accepting request 819031 from home:jfehlig:branches:Virtualization

- Update to libvirt 6.5.0
  - The node device driver now supports creating mediated devices
    using the mdevctl utility
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html
  - Dropped patches:
    ec07aad8-libxl-normalize-mac-addr.patch

OBS-URL: https://build.opensuse.org/request/show/819031
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=832
This commit is contained in:
James Fehlig 2020-07-06 16:35:15 +00:00 committed by Git OBS Bridge
parent 04185dab96
commit 9e9ebe0015
33 changed files with 228 additions and 339 deletions

View File

@ -18,10 +18,10 @@ them.
create mode 100644 src/conf/domain_stats.c create mode 100644 src/conf/domain_stats.c
create mode 100644 src/conf/domain_stats.h create mode 100644 src/conf/domain_stats.h
Index: libvirt-6.4.0/src/conf/domain_stats.c Index: libvirt-6.5.0/src/conf/domain_stats.c
=================================================================== ===================================================================
--- /dev/null --- /dev/null
+++ libvirt-6.4.0/src/conf/domain_stats.c +++ libvirt-6.5.0/src/conf/domain_stats.c
@@ -0,0 +1,119 @@ @@ -0,0 +1,119 @@
+/* +/*
+ * domain_stats.c: domain stats extraction helpers + * domain_stats.c: domain stats extraction helpers
@ -142,10 +142,10 @@ Index: libvirt-6.4.0/src/conf/domain_stats.c
+} +}
+ +
+#undef STATS_ADD_NET_PARAM +#undef STATS_ADD_NET_PARAM
Index: libvirt-6.4.0/src/conf/domain_stats.h Index: libvirt-6.5.0/src/conf/domain_stats.h
=================================================================== ===================================================================
--- /dev/null --- /dev/null
+++ libvirt-6.4.0/src/conf/domain_stats.h +++ libvirt-6.5.0/src/conf/domain_stats.h
@@ -0,0 +1,62 @@ @@ -0,0 +1,62 @@
+/* +/*
+ * domain_stats.h: domain stats extraction helpers + * domain_stats.h: domain stats extraction helpers
@ -209,10 +209,10 @@ Index: libvirt-6.4.0/src/conf/domain_stats.h
+ virTypedParamListPtr params); + virTypedParamListPtr params);
+ +
+#endif /* __DOMAIN_STATS_H */ +#endif /* __DOMAIN_STATS_H */
Index: libvirt-6.4.0/src/libvirt_private.syms Index: libvirt-6.5.0/src/libvirt_private.syms
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/libvirt_private.syms --- libvirt-6.5.0.orig/src/libvirt_private.syms
+++ libvirt-6.4.0/src/libvirt_private.syms +++ libvirt-6.5.0/src/libvirt_private.syms
@@ -732,6 +732,9 @@ virDomainConfNWFilterInstantiate; @@ -732,6 +732,9 @@ virDomainConfNWFilterInstantiate;
virDomainConfNWFilterTeardown; virDomainConfNWFilterTeardown;
virDomainConfVMNWFilterTeardown; virDomainConfVMNWFilterTeardown;
@ -223,7 +223,7 @@ Index: libvirt-6.4.0/src/libvirt_private.syms
# conf/interface_conf.h # conf/interface_conf.h
virInterfaceDefFormat; virInterfaceDefFormat;
@@ -1763,6 +1766,7 @@ virCgroupGetMemoryUsage; @@ -1764,6 +1767,7 @@ virCgroupGetMemoryUsage;
virCgroupGetMemSwapHardLimit; virCgroupGetMemSwapHardLimit;
virCgroupGetMemSwapUsage; virCgroupGetMemSwapUsage;
virCgroupGetPercpuStats; virCgroupGetPercpuStats;
@ -231,10 +231,10 @@ Index: libvirt-6.4.0/src/libvirt_private.syms
virCgroupHasController; virCgroupHasController;
virCgroupHasEmptyTasks; virCgroupHasEmptyTasks;
virCgroupKillPainfully; virCgroupKillPainfully;
Index: libvirt-6.4.0/src/qemu/qemu_driver.c Index: libvirt-6.5.0/src/qemu/qemu_driver.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/qemu/qemu_driver.c --- libvirt-6.5.0.orig/src/qemu/qemu_driver.c
+++ libvirt-6.4.0/src/qemu/qemu_driver.c +++ libvirt-6.5.0/src/qemu/qemu_driver.c
@@ -64,6 +64,7 @@ @@ -64,6 +64,7 @@
#include "virarptable.h" #include "virarptable.h"
#include "viruuid.h" #include "viruuid.h"
@ -243,7 +243,7 @@ Index: libvirt-6.4.0/src/qemu/qemu_driver.c
#include "domain_audit.h" #include "domain_audit.h"
#include "domain_cgroup.h" #include "domain_cgroup.h"
#include "domain_driver.h" #include "domain_driver.h"
@@ -20654,13 +20655,7 @@ qemuDomainGetStatsState(virQEMUDriverPtr @@ -20681,13 +20682,7 @@ qemuDomainGetStatsState(virQEMUDriverPtr
virTypedParamListPtr params, virTypedParamListPtr params,
unsigned int privflags G_GNUC_UNUSED) unsigned int privflags G_GNUC_UNUSED)
{ {
@ -258,7 +258,7 @@ Index: libvirt-6.4.0/src/qemu/qemu_driver.c
} }
@@ -20963,17 +20958,7 @@ qemuDomainGetStatsCpuCgroup(virDomainObj @@ -20990,17 +20985,7 @@ qemuDomainGetStatsCpuCgroup(virDomainObj
if (!priv->cgroup) if (!priv->cgroup)
return 0; return 0;
@ -277,7 +277,7 @@ Index: libvirt-6.4.0/src/qemu/qemu_driver.c
} }
@@ -21141,76 +21126,15 @@ qemuDomainGetStatsVcpu(virQEMUDriverPtr @@ -21168,76 +21153,15 @@ qemuDomainGetStatsVcpu(virQEMUDriverPtr
return ret; return ret;
} }
@ -355,10 +355,10 @@ Index: libvirt-6.4.0/src/qemu/qemu_driver.c
/* refresh information by opening images on the disk */ /* refresh information by opening images on the disk */
static int static int
Index: libvirt-6.4.0/src/util/vircgroup.c Index: libvirt-6.5.0/src/util/vircgroup.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/util/vircgroup.c --- libvirt-6.5.0.orig/src/util/vircgroup.c
+++ libvirt-6.4.0/src/util/vircgroup.c +++ libvirt-6.5.0/src/util/vircgroup.c
@@ -2776,6 +2776,31 @@ virCgroupControllerAvailable(int control @@ -2776,6 +2776,31 @@ virCgroupControllerAvailable(int control
return ret; return ret;
} }
@ -406,10 +406,10 @@ Index: libvirt-6.4.0/src/util/vircgroup.c
int int
virCgroupNewPartition(const char *path G_GNUC_UNUSED, virCgroupNewPartition(const char *path G_GNUC_UNUSED,
bool create G_GNUC_UNUSED, bool create G_GNUC_UNUSED,
Index: libvirt-6.4.0/src/util/vircgroup.h Index: libvirt-6.5.0/src/util/vircgroup.h
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/util/vircgroup.h --- libvirt-6.5.0.orig/src/util/vircgroup.h
+++ libvirt-6.4.0/src/util/vircgroup.h +++ libvirt-6.5.0/src/util/vircgroup.h
@@ -23,6 +23,7 @@ @@ -23,6 +23,7 @@
#include "virbitmap.h" #include "virbitmap.h"
@ -425,10 +425,10 @@ Index: libvirt-6.4.0/src/util/vircgroup.h
+ +
+int virCgroupGetStatsCpu(virCgroupPtr cgroup, +int virCgroupGetStatsCpu(virCgroupPtr cgroup,
+ virTypedParamListPtr params); + virTypedParamListPtr params);
Index: libvirt-6.4.0/src/conf/Makefile.inc.am Index: libvirt-6.5.0/src/conf/Makefile.inc.am
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/conf/Makefile.inc.am --- libvirt-6.5.0.orig/src/conf/Makefile.inc.am
+++ libvirt-6.4.0/src/conf/Makefile.inc.am +++ libvirt-6.5.0/src/conf/Makefile.inc.am
@@ -28,6 +28,8 @@ DOMAIN_CONF_SOURCES = \ @@ -28,6 +28,8 @@ DOMAIN_CONF_SOURCES = \
conf/domain_audit.h \ conf/domain_audit.h \
conf/domain_nwfilter.c \ conf/domain_nwfilter.c \

View File

@ -19,10 +19,10 @@ reworking this patch and submitting it to upstream libvirt.
src/libxl/libxl_driver.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++++ src/libxl/libxl_driver.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 91 insertions(+) 1 file changed, 91 insertions(+)
Index: libvirt-6.4.0/src/libxl/libxl_driver.c Index: libvirt-6.5.0/src/libxl/libxl_driver.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/libxl/libxl_driver.c --- libvirt-6.5.0.orig/src/libxl/libxl_driver.c
+++ libvirt-6.4.0/src/libxl/libxl_driver.c +++ libvirt-6.5.0/src/libxl/libxl_driver.c
@@ -5323,6 +5323,96 @@ libxlDomainMemoryStats(virDomainPtr dom, @@ -5323,6 +5323,96 @@ libxlDomainMemoryStats(virDomainPtr dom,
#undef LIBXL_SET_MEMSTAT #undef LIBXL_SET_MEMSTAT

View File

@ -9,11 +9,11 @@ them using the existing API.
src/lxc/lxc_driver.c | 138 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/lxc/lxc_driver.c | 138 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 138 insertions(+) 1 file changed, 138 insertions(+)
Index: libvirt-6.4.0/src/lxc/lxc_driver.c Index: libvirt-6.5.0/src/lxc/lxc_driver.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/lxc/lxc_driver.c --- libvirt-6.5.0.orig/src/lxc/lxc_driver.c
+++ libvirt-6.4.0/src/lxc/lxc_driver.c +++ libvirt-6.5.0/src/lxc/lxc_driver.c
@@ -74,6 +74,7 @@ @@ -73,6 +73,7 @@
#include "netdev_bandwidth_conf.h" #include "netdev_bandwidth_conf.h"
#include "virsocket.h" #include "virsocket.h"
#include "virutil.h" #include "virutil.h"
@ -21,7 +21,7 @@ Index: libvirt-6.4.0/src/lxc/lxc_driver.c
#define VIR_FROM_THIS VIR_FROM_LXC #define VIR_FROM_THIS VIR_FROM_LXC
@@ -5078,6 +5079,135 @@ lxcDomainHasManagedSaveImage(virDomainPt @@ -5065,6 +5066,128 @@ lxcDomainHasManagedSaveImage(virDomainPt
return ret; return ret;
} }
@ -56,13 +56,10 @@ Index: libvirt-6.4.0/src/lxc/lxc_driver.c
+ unsigned int stats, + unsigned int stats,
+ virDomainStatsRecordPtr *record) + virDomainStatsRecordPtr *record)
+{ +{
+ g_autofree virDomainStatsRecordPtr tmp = NULL; + g_autofree virDomainStatsRecordPtr tmp = g_new0(virDomainStatsRecord, 1);
+ g_autoptr(virTypedParamList) params = NULL; + g_autoptr(virTypedParamList) params = g_new0(virTypedParamList, 1);
+ size_t i; + size_t i;
+ +
+ if (VIR_ALLOC(params) < 0)
+ return -1;
+
+ for (i = 0; lxcDomainGetStatsWorkers[i].func; i++) { + for (i = 0; lxcDomainGetStatsWorkers[i].func; i++) {
+ if (stats & lxcDomainGetStatsWorkers[i].stats) { + if (stats & lxcDomainGetStatsWorkers[i].stats) {
+ if (lxcDomainGetStatsWorkers[i].func(dom, params) < 0) + if (lxcDomainGetStatsWorkers[i].func(dom, params) < 0)
@ -70,9 +67,6 @@ Index: libvirt-6.4.0/src/lxc/lxc_driver.c
+ } + }
+ } + }
+ +
+ if (VIR_ALLOC(tmp) < 0)
+ return -1;
+
+ if (!(tmp->dom = virGetDomain(conn, dom->def->name, + if (!(tmp->dom = virGetDomain(conn, dom->def->name,
+ dom->def->uuid, dom->def->id))) + dom->def->uuid, dom->def->id)))
+ return -1; + return -1;
@ -123,8 +117,7 @@ Index: libvirt-6.4.0/src/lxc/lxc_driver.c
+ return -1; + return -1;
+ } + }
+ +
+ if (VIR_ALLOC_N(tmpstats, nvms + 1) < 0) + tmpstats = g_new0(virDomainStatsRecord, nvms + 1);
+ return -1;
+ +
+ for (i = 0; i < nvms; i++) { + for (i = 0; i < nvms; i++) {
+ virDomainStatsRecordPtr tmp = NULL; + virDomainStatsRecordPtr tmp = NULL;
@ -157,7 +150,7 @@ Index: libvirt-6.4.0/src/lxc/lxc_driver.c
/* Function Tables */ /* Function Tables */
static virHypervisorDriver lxcHypervisorDriver = { static virHypervisorDriver lxcHypervisorDriver = {
@@ -5175,6 +5305,7 @@ static virHypervisorDriver lxcHypervisor @@ -5162,6 +5285,7 @@ static virHypervisorDriver lxcHypervisor
.nodeGetFreePages = lxcNodeGetFreePages, /* 1.2.6 */ .nodeGetFreePages = lxcNodeGetFreePages, /* 1.2.6 */
.nodeAllocPages = lxcNodeAllocPages, /* 1.2.9 */ .nodeAllocPages = lxcNodeAllocPages, /* 1.2.9 */
.domainHasManagedSaveImage = lxcDomainHasManagedSaveImage, /* 1.2.13 */ .domainHasManagedSaveImage = lxcDomainHasManagedSaveImage, /* 1.2.13 */

View File

@ -3,10 +3,10 @@ tests: temporarily disable the new multipath PR tests
The new multipath PR tests are failing in a build root env. The new multipath PR tests are failing in a build root env.
Disable them for now until discussing a solution with upstream. Disable them for now until discussing a solution with upstream.
Index: libvirt-6.4.0/tests/qemuhotplugtest.c Index: libvirt-6.5.0/tests/qemuhotplugtest.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/tests/qemuhotplugtest.c --- libvirt-6.5.0.orig/tests/qemuhotplugtest.c
+++ libvirt-6.4.0/tests/qemuhotplugtest.c +++ libvirt-6.5.0/tests/qemuhotplugtest.c
@@ -87,8 +87,6 @@ qemuHotplugCreateObjects(virDomainXMLOpt @@ -87,8 +87,6 @@ qemuHotplugCreateObjects(virDomainXMLOpt
virQEMUCapsSet(priv->qemuCaps, QEMU_CAPS_VNC); virQEMUCapsSet(priv->qemuCaps, QEMU_CAPS_VNC);
virQEMUCapsSet(priv->qemuCaps, QEMU_CAPS_SPICE); virQEMUCapsSet(priv->qemuCaps, QEMU_CAPS_SPICE);
@ -16,7 +16,7 @@ Index: libvirt-6.4.0/tests/qemuhotplugtest.c
if (qemuTestCapsCacheInsert(driver.qemuCapsCache, priv->qemuCaps) < 0) if (qemuTestCapsCacheInsert(driver.qemuCapsCache, priv->qemuCaps) < 0)
return -1; return -1;
@@ -760,17 +758,6 @@ mymain(void) @@ -762,17 +760,6 @@ mymain(void)
"device_del", QMP_DEVICE_DELETED("scsi3-0-5-6") QMP_OK, "device_del", QMP_DEVICE_DELETED("scsi3-0-5-6") QMP_OK,
"human-monitor-command", HMP("")); "human-monitor-command", HMP(""));

View File

@ -1,117 +0,0 @@
commit ec07aad8f8a6ead8e9363c8deec4845edb5bf112
Author: Jim Fehlig <jfehlig@suse.com>
Date: Wed May 27 17:29:33 2020 -0600
libxl: Normalize MAC address in device conf when hotplugging a netdev
Similar to commits 55ce6564634 and 6c17606b7cc in the qemu driver, make
separate copies of persistent and live device config and normalize the MAC
address between the two. This avoids having different MAC address for the
persistent and live config, ensuring the device has the same address when
the persistent config takes affect after a VM restart.
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Index: libvirt-6.4.0/src/libxl/libxl_driver.c
===================================================================
--- libvirt-6.4.0.orig/src/libxl/libxl_driver.c
+++ libvirt-6.4.0/src/libxl/libxl_driver.c
@@ -4096,6 +4096,31 @@ libxlDomainUpdateDeviceConfig(virDomainD
}
+static void
+libxlDomainAttachDeviceNormalize(const virDomainDeviceDef *devConf,
+ virDomainDeviceDefPtr devLive)
+{
+ /*
+ * Fixup anything that needs to be identical in the live and
+ * config versions of DeviceDef, but might not be. Do this by
+ * changing the contents of devLive. This is done after all
+ * post-parse tweaks and validation, so be very careful about what
+ * changes are made.
+ */
+
+ /* MAC address should be identical in both DeviceDefs, but if it
+ * wasn't specified in the XML, and was instead autogenerated, it
+ * will be different for the two since they are each the result of
+ * a separate parser call. If it *was* specified, it will already
+ * be the same, so copying does no harm.
+ */
+
+ if (devConf->type == VIR_DOMAIN_DEVICE_NET)
+ virMacAddrSet(&devLive->data.net->mac, &devConf->data.net->mac);
+
+}
+
+
static int
libxlDomainAttachDeviceFlags(virDomainPtr dom, const char *xml,
unsigned int flags)
@@ -4104,7 +4129,9 @@ libxlDomainAttachDeviceFlags(virDomainPt
libxlDriverConfigPtr cfg = libxlDriverConfigGet(driver);
virDomainObjPtr vm = NULL;
virDomainDefPtr vmdef = NULL;
- virDomainDeviceDefPtr dev = NULL;
+ virDomainDeviceDefPtr devConf = NULL;
+ virDomainDeviceDef devConfSave = { 0 };
+ virDomainDeviceDefPtr devLive = NULL;
int ret = -1;
virCheckFlags(VIR_DOMAIN_DEVICE_MODIFY_LIVE |
@@ -4123,28 +4150,36 @@ libxlDomainAttachDeviceFlags(virDomainPt
goto endjob;
if (flags & VIR_DOMAIN_DEVICE_MODIFY_CONFIG) {
- if (!(dev = virDomainDeviceDefParse(xml, vm->def,
- driver->xmlopt, NULL,
- VIR_DOMAIN_DEF_PARSE_INACTIVE)))
+ if (!(devConf = virDomainDeviceDefParse(xml, vm->def,
+ driver->xmlopt, NULL,
+ VIR_DOMAIN_DEF_PARSE_INACTIVE)))
goto endjob;
/* Make a copy for updated domain. */
if (!(vmdef = virDomainObjCopyPersistentDef(vm, driver->xmlopt, NULL)))
goto endjob;
- if (libxlDomainAttachDeviceConfig(vmdef, dev) < 0)
+ /*
+ * devConf will be NULLed out by
+ * libxlDomainAttachDeviceConfig(), so save it for later use by
+ * libxlDomainAttachDeviceNormalize()
+ */
+ devConfSave = *devConf;
+
+ if (libxlDomainAttachDeviceConfig(vmdef, devConf) < 0)
goto endjob;
}
if (flags & VIR_DOMAIN_DEVICE_MODIFY_LIVE) {
- /* If dev exists it was created to modify the domain config. Free it. */
- virDomainDeviceDefFree(dev);
- if (!(dev = virDomainDeviceDefParse(xml, vm->def,
+ if (!(devLive = virDomainDeviceDefParse(xml, vm->def,
driver->xmlopt, NULL,
VIR_DOMAIN_DEF_PARSE_INACTIVE)))
goto endjob;
- if (libxlDomainAttachDeviceLive(driver, vm, dev) < 0)
+ if (flags & VIR_DOMAIN_AFFECT_CONFIG)
+ libxlDomainAttachDeviceNormalize(&devConfSave, devLive);
+
+ if (libxlDomainAttachDeviceLive(driver, vm, devLive) < 0)
goto endjob;
/*
@@ -4171,7 +4206,8 @@ libxlDomainAttachDeviceFlags(virDomainPt
cleanup:
virDomainDefFree(vmdef);
- virDomainDeviceDefFree(dev);
+ virDomainDeviceDefFree(devConf);
+ virDomainDeviceDefFree(devLive);
virDomainObjEndAPI(&vm);
virObjectUnref(cfg);
return ret;

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:586ebcf220369d08a07c6cc17035e8a91bb3741e4300199459904e9e02478be7
size 8398396

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE20ZoG7ka3OoXD6LUFViLJllr6l0FAl7WDl4ACgkQFViLJllr
6l1HGggAwbu7umE2jt5pP4EXQDKXF++LxbJI4K3nlU5tvN5FVHltk2jP5ijwxSuH
iYwVzXy+BjaLgVkK7CoZMQYke4ZGB8VvObJyHP07Q9aB57Na5lq8ok34Od7bt0E3
CKfAw5L8iYfVyPElabJTlCpJej8zn094u7Tc0nROu6t8Z+9zpxBNCVJZwyXtYa51
yDfNoIAxk9o5W5wHeWJU+NPWkioqvu5mRUE4gj3Q3ntlu6r/zBlzkeW0c2EzumtT
Nby2xVnI/dGSinsDmY+Rjxl/hA6A3/JJDbM7oa71BSfo3fyA+Xa4WUp6NZ7nV6y/
nwewJq18XQtCI9Jlmlj0tEC/THAvNA==
=gR3a
-----END PGP SIGNATURE-----

3
libvirt-6.5.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4915d9eab299ed79288d7598b717c587156708c05f701fe55a72293f32eb3182
size 9407160

11
libvirt-6.5.0.tar.xz.asc Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE20ZoG7ka3OoXD6LUFViLJllr6l0FAl7+1MYACgkQFViLJllr
6l1LvAf/d9rnHnxKDOQHy/y26aeoGpKpI2ZiHV4INsavZr69xuXwJbBHH4Gs5wM8
EAqWff3Ixl7MBI7a9Xent46VFHroloGh+ncAuflJsGX3es/hP3xII0PbLbHPe0Uq
go4URjvVUy1cDtvvWZSn/si8+V0DqgeLsBHG3/5bONmGZ/vOXLRkGu5n1lrjFt8A
/jFTZaPQqivhy5O9V8/MT9HF+0bvfzHVMmC31oxYeM3921F+gLoUuEAxJZiS13OJ
k0nfKi56wpsEFbFLOYZnhmeR3+lnYhGFPH27XlMjV6OEX3WGcCtVvGEqa8Kzw80M
pND3ge0/CijpZJPelcCnTKp9M0BK/w==
=AkX4
-----END PGP SIGNATURE-----

View File

@ -2,10 +2,10 @@ Add POWER8 v2.0 and v2.1 to cpu map XML
From: <ro@suse.de> From: <ro@suse.de>
Index: libvirt-6.4.0/src/cpu_map/ppc64_POWER8.xml Index: libvirt-6.5.0/src/cpu_map/ppc64_POWER8.xml
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/cpu_map/ppc64_POWER8.xml --- libvirt-6.5.0.orig/src/cpu_map/ppc64_POWER8.xml
+++ libvirt-6.4.0/src/cpu_map/ppc64_POWER8.xml +++ libvirt-6.5.0/src/cpu_map/ppc64_POWER8.xml
@@ -4,5 +4,7 @@ @@ -4,5 +4,7 @@
<pvr value='0x004b0000' mask='0xffff0000'/> <pvr value='0x004b0000' mask='0xffff0000'/>
<pvr value='0x004c0000' mask='0xffff0000'/> <pvr value='0x004c0000' mask='0xffff0000'/>

View File

@ -1,7 +1,7 @@
Index: libvirt-6.4.0/configure.ac Index: libvirt-6.5.0/configure.ac
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/configure.ac --- libvirt-6.5.0.orig/configure.ac
+++ libvirt-6.4.0/configure.ac +++ libvirt-6.5.0/configure.ac
@@ -278,6 +278,7 @@ LIBVIRT_ARG_LIBSSH @@ -278,6 +278,7 @@ LIBVIRT_ARG_LIBSSH
LIBVIRT_ARG_LIBXML LIBVIRT_ARG_LIBXML
LIBVIRT_ARG_MACVTAP LIBVIRT_ARG_MACVTAP
@ -26,10 +26,10 @@ Index: libvirt-6.4.0/configure.ac
LIBVIRT_RESULT_NLS LIBVIRT_RESULT_NLS
LIBVIRT_RESULT_NSS LIBVIRT_RESULT_NSS
LIBVIRT_RESULT_NUMACTL LIBVIRT_RESULT_NUMACTL
Index: libvirt-6.4.0/tools/virsh.c Index: libvirt-6.5.0/tools/virsh.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/tools/virsh.c --- libvirt-6.5.0.orig/tools/virsh.c
+++ libvirt-6.4.0/tools/virsh.c +++ libvirt-6.5.0/tools/virsh.c
@@ -547,6 +547,8 @@ virshShowVersion(vshControl *ctl G_GNUC_ @@ -547,6 +547,8 @@ virshShowVersion(vshControl *ctl G_GNUC_
vshPrint(ctl, " Interface"); vshPrint(ctl, " Interface");
# if defined(WITH_NETCF) # if defined(WITH_NETCF)
@ -39,10 +39,10 @@ Index: libvirt-6.4.0/tools/virsh.c
# elif defined(WITH_UDEV) # elif defined(WITH_UDEV)
vshPrint(ctl, " udev"); vshPrint(ctl, " udev");
# endif # endif
Index: libvirt-6.4.0/src/interface/interface_backend_netcf.c Index: libvirt-6.5.0/src/interface/interface_backend_netcf.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/interface/interface_backend_netcf.c --- libvirt-6.5.0.orig/src/interface/interface_backend_netcf.c
+++ libvirt-6.4.0/src/interface/interface_backend_netcf.c +++ libvirt-6.5.0/src/interface/interface_backend_netcf.c
@@ -21,7 +21,12 @@ @@ -21,7 +21,12 @@
#include <config.h> #include <config.h>
@ -106,7 +106,7 @@ Index: libvirt-6.4.0/src/interface/interface_backend_netcf.c
/* open netcf */ /* open netcf */
if (ncf_init(&driver->netcf, NULL) != 0) { if (ncf_init(&driver->netcf, NULL) != 0) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s", virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
@@ -1121,6 +1161,7 @@ static int netcfInterfaceIsActive(virInt @@ -1116,6 +1156,7 @@ static int netcfInterfaceIsActive(virInt
return ret; return ret;
} }
@ -114,7 +114,7 @@ Index: libvirt-6.4.0/src/interface/interface_backend_netcf.c
static int netcfInterfaceChangeBegin(virConnectPtr conn, unsigned int flags) static int netcfInterfaceChangeBegin(virConnectPtr conn, unsigned int flags)
{ {
int ret; int ret;
@@ -1195,6 +1236,7 @@ static int netcfInterfaceChangeRollback( @@ -1190,6 +1231,7 @@ static int netcfInterfaceChangeRollback(
virObjectUnlock(driver); virObjectUnlock(driver);
return ret; return ret;
} }
@ -122,7 +122,7 @@ Index: libvirt-6.4.0/src/interface/interface_backend_netcf.c
static virInterfaceDriver interfaceDriver = { static virInterfaceDriver interfaceDriver = {
.name = INTERFACE_DRIVER_NAME, .name = INTERFACE_DRIVER_NAME,
@@ -1211,9 +1253,11 @@ static virInterfaceDriver interfaceDrive @@ -1206,9 +1248,11 @@ static virInterfaceDriver interfaceDrive
.interfaceCreate = netcfInterfaceCreate, /* 0.7.0 */ .interfaceCreate = netcfInterfaceCreate, /* 0.7.0 */
.interfaceDestroy = netcfInterfaceDestroy, /* 0.7.0 */ .interfaceDestroy = netcfInterfaceDestroy, /* 0.7.0 */
.interfaceIsActive = netcfInterfaceIsActive, /* 0.7.3 */ .interfaceIsActive = netcfInterfaceIsActive, /* 0.7.3 */
@ -134,7 +134,7 @@ Index: libvirt-6.4.0/src/interface/interface_backend_netcf.c
}; };
@@ -1244,6 +1288,19 @@ static virStateDriver interfaceStateDriv @@ -1239,6 +1283,19 @@ static virStateDriver interfaceStateDriv
int netcfIfaceRegister(void) int netcfIfaceRegister(void)
{ {
@ -154,10 +154,10 @@ Index: libvirt-6.4.0/src/interface/interface_backend_netcf.c
if (virRegisterConnectDriver(&interfaceConnectDriver, false) < 0) if (virRegisterConnectDriver(&interfaceConnectDriver, false) < 0)
return -1; return -1;
if (virSetSharedInterfaceDriver(&interfaceDriver) < 0) if (virSetSharedInterfaceDriver(&interfaceDriver) < 0)
Index: libvirt-6.4.0/src/interface/interface_driver.c Index: libvirt-6.5.0/src/interface/interface_driver.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/interface/interface_driver.c --- libvirt-6.5.0.orig/src/interface/interface_driver.c
+++ libvirt-6.4.0/src/interface/interface_driver.c +++ libvirt-6.5.0/src/interface/interface_driver.c
@@ -30,8 +30,15 @@ interfaceRegister(void) @@ -30,8 +30,15 @@ interfaceRegister(void)
if (netcfIfaceRegister() == 0) if (netcfIfaceRegister() == 0)
return 0; return 0;
@ -175,10 +175,10 @@ Index: libvirt-6.4.0/src/interface/interface_driver.c
if (udevIfaceRegister() == 0) if (udevIfaceRegister() == 0)
return 0; return 0;
#endif /* WITH_UDEV */ #endif /* WITH_UDEV */
Index: libvirt-6.4.0/m4/virt-netcontrol.m4 Index: libvirt-6.5.0/m4/virt-netcontrol.m4
=================================================================== ===================================================================
--- /dev/null --- /dev/null
+++ libvirt-6.4.0/m4/virt-netcontrol.m4 +++ libvirt-6.5.0/m4/virt-netcontrol.m4
@@ -0,0 +1,39 @@ @@ -0,0 +1,39 @@
+dnl The libnetcontrol library +dnl The libnetcontrol library
+dnl +dnl
@ -219,10 +219,10 @@ Index: libvirt-6.4.0/m4/virt-netcontrol.m4
+AC_DEFUN([LIBVIRT_RESULT_NETCONTROL],[ +AC_DEFUN([LIBVIRT_RESULT_NETCONTROL],[
+ LIBVIRT_RESULT_LIB([NETCONTROL]) + LIBVIRT_RESULT_LIB([NETCONTROL])
+]) +])
Index: libvirt-6.4.0/src/interface/Makefile.inc.am Index: libvirt-6.5.0/src/interface/Makefile.inc.am
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/interface/Makefile.inc.am --- libvirt-6.5.0.orig/src/interface/Makefile.inc.am
+++ libvirt-6.4.0/src/interface/Makefile.inc.am +++ libvirt-6.5.0/src/interface/Makefile.inc.am
@@ -6,6 +6,7 @@ INTERFACE_DRIVER_SOURCES = \ @@ -6,6 +6,7 @@ INTERFACE_DRIVER_SOURCES = \
$(NULL) $(NULL)

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jul 6 14:58:35 UTC 2020 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 6.5.0
- The node device driver now supports creating mediated devices
using the mdevctl utility
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html
- Dropped patches:
ec07aad8-libxl-normalize-mac-addr.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 3 16:38:09 UTC 2020 - James Fehlig <jfehlig@suse.com> Wed Jun 3 16:38:09 UTC 2020 - James Fehlig <jfehlig@suse.com>

View File

@ -185,7 +185,7 @@
Name: libvirt Name: libvirt
URL: http://libvirt.org/ URL: http://libvirt.org/
Version: 6.4.0 Version: 6.5.0
Release: 0 Release: 0
Summary: Library providing a virtualization API Summary: Library providing a virtualization API
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
@ -338,7 +338,6 @@ Source6: libvirtd-relocation-server.xml
Source99: baselibs.conf Source99: baselibs.conf
Source100: %{name}-rpmlintrc Source100: %{name}-rpmlintrc
# Upstream patches # Upstream patches
Patch0: ec07aad8-libxl-normalize-mac-addr.patch
# Patches pending upstream review # Patches pending upstream review
Patch100: libxl-dom-reset.patch Patch100: libxl-dom-reset.patch
Patch101: network-don-t-use-dhcp-authoritative-on-static-netwo.patch Patch101: network-don-t-use-dhcp-authoritative-on-static-netwo.patch
@ -495,6 +494,10 @@ Summary: Nodedev driver plugin for the libvirtd daemon
Group: System/Management Group: System/Management
Requires: %{name}-daemon = %{version}-%{release} Requires: %{name}-daemon = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
# For managing persistent mediated devices
%if 0%{?suse_version} >= 1550
Requires: mdevctl
%endif
%description daemon-driver-nodedev %description daemon-driver-nodedev
The nodedev driver plugin for the libvirtd daemon, providing The nodedev driver plugin for the libvirtd daemon, providing
@ -874,7 +877,6 @@ libvirt plugin for NSS for translating domain names into IP addresses.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%patch100 -p1 %patch100 -p1
%patch101 -p1 %patch101 -p1
%patch150 -p1 %patch150 -p1
@ -1920,7 +1922,7 @@ fi
%{_datadir}/%{name}/api/libvirt-lxc-api.xml %{_datadir}/%{name}/api/libvirt-lxc-api.xml
%files doc %files doc
%doc AUTHORS NEWS README README.rst %doc AUTHORS NEWS.rst README README.rst
%license COPYING COPYING.LESSER %license COPYING COPYING.LESSER
%dir %{_docdir}/%{name} %dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/* %doc %{_docdir}/%{name}/*

View File

@ -8,10 +8,10 @@ Date: Mon Jun 23 15:51:20 2014 -0600
option, but domainReset can be implemented in the libxl driver by option, but domainReset can be implemented in the libxl driver by
forcibly destroying the domain and starting it again. forcibly destroying the domain and starting it again.
Index: libvirt-6.4.0/src/libxl/libxl_driver.c Index: libvirt-6.5.0/src/libxl/libxl_driver.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/libxl/libxl_driver.c --- libvirt-6.5.0.orig/src/libxl/libxl_driver.c
+++ libvirt-6.4.0/src/libxl/libxl_driver.c +++ libvirt-6.5.0/src/libxl/libxl_driver.c
@@ -1371,6 +1371,61 @@ libxlDomainReboot(virDomainPtr dom, unsi @@ -1371,6 +1371,61 @@ libxlDomainReboot(virDomainPtr dom, unsi
} }

View File

@ -3,10 +3,10 @@ https://bugzilla.novell.com/show_bug.cgi?id=879425
src/libxl/libxl_conf.c | 25 +++++++++++++++++++++++++ src/libxl/libxl_conf.c | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+) 1 file changed, 25 insertions(+)
Index: libvirt-6.4.0/src/libxl/libxl_conf.c Index: libvirt-6.5.0/src/libxl/libxl_conf.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/libxl/libxl_conf.c --- libvirt-6.5.0.orig/src/libxl/libxl_conf.c
+++ libvirt-6.4.0/src/libxl/libxl_conf.c +++ libvirt-6.5.0/src/libxl/libxl_conf.c
@@ -905,6 +905,30 @@ libxlDiskSetDiscard(libxl_device_disk *x @@ -905,6 +905,30 @@ libxlDiskSetDiscard(libxl_device_disk *x
#endif #endif
} }

View File

@ -16,10 +16,10 @@ Signed-off-by: Jim Fehlig <jfehlig@suse.com>
tools/virsh.pod | 8 ++++++++ tools/virsh.pod | 8 ++++++++
6 files changed, 125 insertions(+), 6 deletions(-) 6 files changed, 125 insertions(+), 6 deletions(-)
Index: libvirt-6.4.0/include/libvirt/libvirt-domain.h Index: libvirt-6.5.0/include/libvirt/libvirt-domain.h
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/include/libvirt/libvirt-domain.h --- libvirt-6.5.0.orig/include/libvirt/libvirt-domain.h
+++ libvirt-6.4.0/include/libvirt/libvirt-domain.h +++ libvirt-6.5.0/include/libvirt/libvirt-domain.h
@@ -1065,6 +1065,31 @@ typedef enum { @@ -1065,6 +1065,31 @@ typedef enum {
*/ */
# define VIR_MIGRATE_PARAM_TLS_DESTINATION "tls.destination" # define VIR_MIGRATE_PARAM_TLS_DESTINATION "tls.destination"
@ -52,10 +52,10 @@ Index: libvirt-6.4.0/include/libvirt/libvirt-domain.h
/* Domain migration. */ /* Domain migration. */
virDomainPtr virDomainMigrate (virDomainPtr domain, virConnectPtr dconn, virDomainPtr virDomainMigrate (virDomainPtr domain, virConnectPtr dconn,
unsigned long flags, const char *dname, unsigned long flags, const char *dname,
Index: libvirt-6.4.0/src/libxl/libxl_driver.c Index: libvirt-6.5.0/src/libxl/libxl_driver.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/libxl/libxl_driver.c --- libvirt-6.5.0.orig/src/libxl/libxl_driver.c
+++ libvirt-6.4.0/src/libxl/libxl_driver.c +++ libvirt-6.5.0/src/libxl/libxl_driver.c
@@ -6232,6 +6232,9 @@ libxlDomainMigratePerform3Params(virDoma @@ -6232,6 +6232,9 @@ libxlDomainMigratePerform3Params(virDoma
const char *dname = NULL; const char *dname = NULL;
const char *uri = NULL; const char *uri = NULL;
@ -99,10 +99,10 @@ Index: libvirt-6.4.0/src/libxl/libxl_driver.c
goto cleanup; goto cleanup;
} }
Index: libvirt-6.4.0/src/libxl/libxl_migration.c Index: libvirt-6.5.0/src/libxl/libxl_migration.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/libxl/libxl_migration.c --- libvirt-6.5.0.orig/src/libxl/libxl_migration.c
+++ libvirt-6.4.0/src/libxl/libxl_migration.c +++ libvirt-6.5.0/src/libxl/libxl_migration.c
@@ -345,18 +345,39 @@ libxlMigrateDstReceive(virNetSocketPtr s @@ -345,18 +345,39 @@ libxlMigrateDstReceive(virNetSocketPtr s
static int static int
libxlDoMigrateSrcSend(libxlDriverPrivatePtr driver, libxlDoMigrateSrcSend(libxlDriverPrivatePtr driver,
@ -145,7 +145,7 @@ Index: libvirt-6.4.0/src/libxl/libxl_migration.c
if (ret != 0) { if (ret != 0) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s", virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
_("Failed to send migration data to destination host")); _("Failed to send migration data to destination host"));
@@ -913,7 +934,7 @@ struct libxlTunnelControl { @@ -911,7 +932,7 @@ struct libxlTunnelControl {
static int static int
libxlMigrationSrcStartTunnel(libxlDriverPrivatePtr driver, libxlMigrationSrcStartTunnel(libxlDriverPrivatePtr driver,
virDomainObjPtr vm, virDomainObjPtr vm,
@ -154,7 +154,7 @@ Index: libvirt-6.4.0/src/libxl/libxl_migration.c
virStreamPtr st, virStreamPtr st,
struct libxlTunnelControl **tnl) struct libxlTunnelControl **tnl)
{ {
@@ -947,7 +968,7 @@ libxlMigrationSrcStartTunnel(libxlDriver @@ -945,7 +966,7 @@ libxlMigrationSrcStartTunnel(libxlDriver
virObjectUnlock(vm); virObjectUnlock(vm);
/* Send data to pipe */ /* Send data to pipe */
@ -163,7 +163,7 @@ Index: libvirt-6.4.0/src/libxl/libxl_migration.c
virObjectLock(vm); virObjectLock(vm);
out: out:
@@ -983,7 +1004,7 @@ libxlDoMigrateSrcP2P(libxlDriverPrivateP @@ -981,7 +1002,7 @@ libxlDoMigrateSrcP2P(libxlDriverPrivateP
const char *dconnuri G_GNUC_UNUSED, const char *dconnuri G_GNUC_UNUSED,
const char *dname, const char *dname,
const char *uri, const char *uri,
@ -172,7 +172,7 @@ Index: libvirt-6.4.0/src/libxl/libxl_migration.c
{ {
virDomainPtr ddomain = NULL; virDomainPtr ddomain = NULL;
virTypedParameterPtr params = NULL; virTypedParameterPtr params = NULL;
@@ -1028,11 +1049,11 @@ libxlDoMigrateSrcP2P(libxlDriverPrivateP @@ -1026,11 +1047,11 @@ libxlDoMigrateSrcP2P(libxlDriverPrivateP
/* We don't require the destination to have P2P support /* We don't require the destination to have P2P support
* as it looks to be normal migration from the receiver perspective. * as it looks to be normal migration from the receiver perspective.
*/ */
@ -186,7 +186,7 @@ Index: libvirt-6.4.0/src/libxl/libxl_migration.c
if (!(st = virStreamNew(dconn, 0))) if (!(st = virStreamNew(dconn, 0)))
goto confirm; goto confirm;
ret = dconn->driver->domainMigratePrepareTunnel3Params ret = dconn->driver->domainMigratePrepareTunnel3Params
@@ -1046,7 +1067,7 @@ libxlDoMigrateSrcP2P(libxlDriverPrivateP @@ -1044,7 +1065,7 @@ libxlDoMigrateSrcP2P(libxlDriverPrivateP
if (ret == -1) if (ret == -1)
goto confirm; goto confirm;
@ -195,7 +195,7 @@ Index: libvirt-6.4.0/src/libxl/libxl_migration.c
if (uri_out) { if (uri_out) {
if (virTypedParamsReplaceString(&params, &nparams, if (virTypedParamsReplaceString(&params, &nparams,
VIR_MIGRATE_PARAM_URI, uri_out) < 0) { VIR_MIGRATE_PARAM_URI, uri_out) < 0) {
@@ -1061,11 +1082,11 @@ libxlDoMigrateSrcP2P(libxlDriverPrivateP @@ -1059,11 +1080,11 @@ libxlDoMigrateSrcP2P(libxlDriverPrivateP
} }
VIR_DEBUG("Perform3 uri=%s", NULLSTR(uri_out)); VIR_DEBUG("Perform3 uri=%s", NULLSTR(uri_out));
@ -210,7 +210,7 @@ Index: libvirt-6.4.0/src/libxl/libxl_migration.c
if (ret < 0) { if (ret < 0) {
notify_source = false; notify_source = false;
virErrorPreserveLast(&orig_err); virErrorPreserveLast(&orig_err);
@@ -1100,7 +1121,7 @@ libxlDoMigrateSrcP2P(libxlDriverPrivateP @@ -1098,7 +1119,7 @@ libxlDoMigrateSrcP2P(libxlDriverPrivateP
confirm: confirm:
if (notify_source) { if (notify_source) {
VIR_DEBUG("Confirm3 cancelled=%d vm=%p", cancelled, vm); VIR_DEBUG("Confirm3 cancelled=%d vm=%p", cancelled, vm);
@ -219,7 +219,7 @@ Index: libvirt-6.4.0/src/libxl/libxl_migration.c
if (ret < 0) if (ret < 0)
VIR_WARN("Guest %s probably left in 'paused' state on source", VIR_WARN("Guest %s probably left in 'paused' state on source",
@@ -1108,7 +1129,7 @@ libxlDoMigrateSrcP2P(libxlDriverPrivateP @@ -1106,7 +1127,7 @@ libxlDoMigrateSrcP2P(libxlDriverPrivateP
} }
cleanup: cleanup:
@ -228,7 +228,7 @@ Index: libvirt-6.4.0/src/libxl/libxl_migration.c
libxlMigrationSrcStopTunnel(tc); libxlMigrationSrcStopTunnel(tc);
virObjectUnref(st); virObjectUnref(st);
} }
@@ -1152,7 +1173,7 @@ libxlDomainMigrationSrcPerformP2P(libxlD @@ -1150,7 +1171,7 @@ libxlDomainMigrationSrcPerformP2P(libxlD
const char *dconnuri, const char *dconnuri,
const char *uri_str G_GNUC_UNUSED, const char *uri_str G_GNUC_UNUSED,
const char *dname, const char *dname,
@ -237,7 +237,7 @@ Index: libvirt-6.4.0/src/libxl/libxl_migration.c
{ {
int ret = -1; int ret = -1;
bool useParams; bool useParams;
@@ -1187,7 +1208,7 @@ libxlDomainMigrationSrcPerformP2P(libxlD @@ -1185,7 +1206,7 @@ libxlDomainMigrationSrcPerformP2P(libxlD
} }
ret = libxlDoMigrateSrcP2P(driver, vm, sconn, xmlin, dconn, dconnuri, ret = libxlDoMigrateSrcP2P(driver, vm, sconn, xmlin, dconn, dconnuri,
@ -246,7 +246,7 @@ Index: libvirt-6.4.0/src/libxl/libxl_migration.c
if (ret < 0) { if (ret < 0) {
/* /*
@@ -1214,7 +1235,7 @@ libxlDomainMigrationSrcPerform(libxlDriv @@ -1212,7 +1233,7 @@ libxlDomainMigrationSrcPerform(libxlDriv
const char *dconnuri G_GNUC_UNUSED, const char *dconnuri G_GNUC_UNUSED,
const char *uri_str, const char *uri_str,
const char *dname G_GNUC_UNUSED, const char *dname G_GNUC_UNUSED,
@ -255,7 +255,7 @@ Index: libvirt-6.4.0/src/libxl/libxl_migration.c
{ {
libxlDomainObjPrivatePtr priv = vm->privateData; libxlDomainObjPrivatePtr priv = vm->privateData;
char *hostname = NULL; char *hostname = NULL;
@@ -1250,7 +1271,7 @@ libxlDomainMigrationSrcPerform(libxlDriv @@ -1248,7 +1269,7 @@ libxlDomainMigrationSrcPerform(libxlDriv
/* suspend vm and send saved data to dst through socket fd */ /* suspend vm and send saved data to dst through socket fd */
virObjectUnlock(vm); virObjectUnlock(vm);
@ -264,10 +264,10 @@ Index: libvirt-6.4.0/src/libxl/libxl_migration.c
virObjectLock(vm); virObjectLock(vm);
if (ret == 0) { if (ret == 0) {
Index: libvirt-6.4.0/src/libxl/libxl_migration.h Index: libvirt-6.5.0/src/libxl/libxl_migration.h
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/libxl/libxl_migration.h --- libvirt-6.5.0.orig/src/libxl/libxl_migration.h
+++ libvirt-6.4.0/src/libxl/libxl_migration.h +++ libvirt-6.5.0/src/libxl/libxl_migration.h
@@ -35,6 +35,10 @@ @@ -35,6 +35,10 @@
VIR_MIGRATE_PARAM_URI, VIR_TYPED_PARAM_STRING, \ VIR_MIGRATE_PARAM_URI, VIR_TYPED_PARAM_STRING, \
VIR_MIGRATE_PARAM_DEST_NAME, VIR_TYPED_PARAM_STRING, \ VIR_MIGRATE_PARAM_DEST_NAME, VIR_TYPED_PARAM_STRING, \
@ -312,11 +312,11 @@ Index: libvirt-6.4.0/src/libxl/libxl_migration.h
virDomainPtr virDomainPtr
libxlDomainMigrationDstFinish(virConnectPtr dconn, libxlDomainMigrationDstFinish(virConnectPtr dconn,
Index: libvirt-6.4.0/tools/virsh-domain.c Index: libvirt-6.5.0/tools/virsh-domain.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/tools/virsh-domain.c --- libvirt-6.5.0.orig/tools/virsh-domain.c
+++ libvirt-6.4.0/tools/virsh-domain.c +++ libvirt-6.5.0/tools/virsh-domain.c
@@ -10721,6 +10721,22 @@ static const vshCmdOptDef opts_migrate[] @@ -10716,6 +10716,22 @@ static const vshCmdOptDef opts_migrate[]
.type = VSH_OT_STRING, .type = VSH_OT_STRING,
.help = N_("override the destination host name used for TLS verification") .help = N_("override the destination host name used for TLS verification")
}, },
@ -339,7 +339,7 @@ Index: libvirt-6.4.0/tools/virsh-domain.c
{.name = NULL} {.name = NULL}
}; };
@@ -10742,6 +10758,7 @@ doMigrate(void *opaque) @@ -10737,6 +10753,7 @@ doMigrate(void *opaque)
unsigned long long ullOpt = 0; unsigned long long ullOpt = 0;
int rv; int rv;
virConnectPtr dconn = data->dconn; virConnectPtr dconn = data->dconn;
@ -347,7 +347,7 @@ Index: libvirt-6.4.0/tools/virsh-domain.c
#ifndef WIN32 #ifndef WIN32
sigset_t sigmask, oldsigmask; sigset_t sigmask, oldsigmask;
@@ -10864,6 +10881,27 @@ doMigrate(void *opaque) @@ -10859,6 +10876,27 @@ doMigrate(void *opaque)
goto save_error; goto save_error;
} }
@ -375,10 +375,10 @@ Index: libvirt-6.4.0/tools/virsh-domain.c
if (vshCommandOptStringReq(ctl, cmd, "xml", &opt) < 0) if (vshCommandOptStringReq(ctl, cmd, "xml", &opt) < 0)
goto out; goto out;
if (opt) { if (opt) {
Index: libvirt-6.4.0/docs/manpages/virsh.rst Index: libvirt-6.5.0/docs/manpages/virsh.rst
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/docs/manpages/virsh.rst --- libvirt-6.5.0.orig/docs/manpages/virsh.rst
+++ libvirt-6.4.0/docs/manpages/virsh.rst +++ libvirt-6.5.0/docs/manpages/virsh.rst
@@ -3093,6 +3093,8 @@ migrate @@ -3093,6 +3093,8 @@ migrate
[--postcopy-bandwidth bandwidth] [--postcopy-bandwidth bandwidth]
[--parallel [--parallel-connections connections]] [--parallel [--parallel-connections connections]]

View File

@ -7,10 +7,10 @@ and npiv.
For more details, see bsc#954872 and FATE#319810 For more details, see bsc#954872 and FATE#319810
Index: libvirt-6.4.0/src/libxl/libxl_conf.c Index: libvirt-6.5.0/src/libxl/libxl_conf.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/libxl/libxl_conf.c --- libvirt-6.5.0.orig/src/libxl/libxl_conf.c
+++ libvirt-6.4.0/src/libxl/libxl_conf.c +++ libvirt-6.5.0/src/libxl/libxl_conf.c
@@ -905,6 +905,22 @@ libxlDiskSetDiscard(libxl_device_disk *x @@ -905,6 +905,22 @@ libxlDiskSetDiscard(libxl_device_disk *x
#endif #endif
} }

View File

@ -13,11 +13,11 @@ device with the same name that is being created.
src/lxc/lxc_process.c | 1 + src/lxc/lxc_process.c | 1 +
3 files changed, 4 insertions(+) 3 files changed, 4 insertions(+)
Index: libvirt-6.4.0/src/lxc/lxc_controller.c Index: libvirt-6.5.0/src/lxc/lxc_controller.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/lxc/lxc_controller.c --- libvirt-6.5.0.orig/src/lxc/lxc_controller.c
+++ libvirt-6.4.0/src/lxc/lxc_controller.c +++ libvirt-6.5.0/src/lxc/lxc_controller.c
@@ -2056,6 +2056,7 @@ static int virLXCControllerDeleteInterfa @@ -2028,6 +2028,7 @@ static int virLXCControllerDeleteInterfa
if (virNetDevVethDelete(ctrl->veths[i]) < 0) if (virNetDevVethDelete(ctrl->veths[i]) < 0)
ret = -1; ret = -1;
} }
@ -25,11 +25,11 @@ Index: libvirt-6.4.0/src/lxc/lxc_controller.c
return ret; return ret;
} }
Index: libvirt-6.4.0/src/lxc/lxc_driver.c Index: libvirt-6.5.0/src/lxc/lxc_driver.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/lxc/lxc_driver.c --- libvirt-6.5.0.orig/src/lxc/lxc_driver.c
+++ libvirt-6.4.0/src/lxc/lxc_driver.c +++ libvirt-6.5.0/src/lxc/lxc_driver.c
@@ -67,6 +67,7 @@ @@ -66,6 +66,7 @@
#include "virtime.h" #include "virtime.h"
#include "virtypedparam.h" #include "virtypedparam.h"
#include "viruri.h" #include "viruri.h"
@ -37,7 +37,7 @@ Index: libvirt-6.4.0/src/lxc/lxc_driver.c
#include "virstring.h" #include "virstring.h"
#include "viraccessapicheck.h" #include "viraccessapicheck.h"
#include "viraccessapichecklxc.h" #include "viraccessapichecklxc.h"
@@ -3552,6 +3553,7 @@ lxcDomainAttachDeviceNetLive(virLXCDrive @@ -3544,6 +3545,7 @@ lxcDomainAttachDeviceNetLive(virLXCDrive
case VIR_DOMAIN_NET_TYPE_NETWORK: case VIR_DOMAIN_NET_TYPE_NETWORK:
case VIR_DOMAIN_NET_TYPE_ETHERNET: case VIR_DOMAIN_NET_TYPE_ETHERNET:
ignore_value(virNetDevVethDelete(veth)); ignore_value(virNetDevVethDelete(veth));
@ -45,7 +45,7 @@ Index: libvirt-6.4.0/src/lxc/lxc_driver.c
break; break;
case VIR_DOMAIN_NET_TYPE_DIRECT: case VIR_DOMAIN_NET_TYPE_DIRECT:
@@ -3992,6 +3994,7 @@ lxcDomainDetachDeviceNetLive(virDomainOb @@ -3982,6 +3984,7 @@ lxcDomainDetachDeviceNetLive(virDomainOb
virDomainAuditNet(vm, detach, NULL, "detach", false); virDomainAuditNet(vm, detach, NULL, "detach", false);
goto cleanup; goto cleanup;
} }
@ -53,10 +53,10 @@ Index: libvirt-6.4.0/src/lxc/lxc_driver.c
break; break;
/* It'd be nice to support this, but with macvlan /* It'd be nice to support this, but with macvlan
Index: libvirt-6.4.0/src/lxc/lxc_process.c Index: libvirt-6.5.0/src/lxc/lxc_process.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/lxc/lxc_process.c --- libvirt-6.5.0.orig/src/lxc/lxc_process.c
+++ libvirt-6.4.0/src/lxc/lxc_process.c +++ libvirt-6.5.0/src/lxc/lxc_process.c
@@ -50,6 +50,7 @@ @@ -50,6 +50,7 @@
#include "virstring.h" #include "virstring.h"
#include "virprocess.h" #include "virprocess.h"
@ -65,7 +65,7 @@ Index: libvirt-6.4.0/src/lxc/lxc_process.c
#include "netdev_bandwidth_conf.h" #include "netdev_bandwidth_conf.h"
#include "virutil.h" #include "virutil.h"
@@ -230,6 +231,7 @@ static void virLXCProcessCleanup(virLXCD @@ -231,6 +232,7 @@ static void virLXCProcessCleanup(virLXCD
VIR_WARN("Unable to release network device '%s'", NULLSTR(iface->ifname)); VIR_WARN("Unable to release network device '%s'", NULLSTR(iface->ifname));
} }
} }

View File

@ -17,10 +17,10 @@ Signed-off-by: Martin Wilck <mwilck@suse.com>
tests/networkxml2confdata/dhcp6host-routed-network.conf | 1 - tests/networkxml2confdata/dhcp6host-routed-network.conf | 1 -
2 files changed, 8 insertions(+), 2 deletions(-) 2 files changed, 8 insertions(+), 2 deletions(-)
Index: libvirt-6.4.0/src/network/bridge_driver.c Index: libvirt-6.5.0/src/network/bridge_driver.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/network/bridge_driver.c --- libvirt-6.5.0.orig/src/network/bridge_driver.c
+++ libvirt-6.4.0/src/network/bridge_driver.c +++ libvirt-6.5.0/src/network/bridge_driver.c
@@ -1478,7 +1478,14 @@ networkDnsmasqConfContents(virNetworkObj @@ -1478,7 +1478,14 @@ networkDnsmasqConfContents(virNetworkObj
if (VIR_SOCKET_ADDR_IS_FAMILY(&ipdef->address, AF_INET)) { if (VIR_SOCKET_ADDR_IS_FAMILY(&ipdef->address, AF_INET)) {
if (ipdef->nranges || ipdef->nhosts) { if (ipdef->nranges || ipdef->nhosts) {
@ -37,10 +37,10 @@ Index: libvirt-6.4.0/src/network/bridge_driver.c
} }
if (ipdef->tftproot) { if (ipdef->tftproot) {
Index: libvirt-6.4.0/tests/networkxml2confdata/dhcp6host-routed-network.conf Index: libvirt-6.5.0/tests/networkxml2confdata/dhcp6host-routed-network.conf
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/tests/networkxml2confdata/dhcp6host-routed-network.conf --- libvirt-6.5.0.orig/tests/networkxml2confdata/dhcp6host-routed-network.conf
+++ libvirt-6.4.0/tests/networkxml2confdata/dhcp6host-routed-network.conf +++ libvirt-6.5.0/tests/networkxml2confdata/dhcp6host-routed-network.conf
@@ -10,7 +10,6 @@ bind-dynamic @@ -10,7 +10,6 @@ bind-dynamic
interface=virbr1 interface=virbr1
dhcp-range=192.168.122.1,static dhcp-range=192.168.122.1,static

View File

@ -2,10 +2,10 @@ Canonicalize hostarch name ppc64le to ppc64
See bnc#894956 See bnc#894956
Index: libvirt-6.4.0/src/util/virarch.c Index: libvirt-6.5.0/src/util/virarch.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/util/virarch.c --- libvirt-6.5.0.orig/src/util/virarch.c
+++ libvirt-6.4.0/src/util/virarch.c +++ libvirt-6.5.0/src/util/virarch.c
@@ -220,6 +220,8 @@ virArch virArchFromHost(void) @@ -220,6 +220,8 @@ virArch virArchFromHost(void)
arch = VIR_ARCH_I686; arch = VIR_ARCH_I686;
} else if (STREQ(ut.machine, "amd64")) { } else if (STREQ(ut.machine, "amd64")) {

View File

@ -1,7 +1,7 @@
Index: libvirt-6.4.0/src/security/apparmor/libvirt-qemu Index: libvirt-6.5.0/src/security/apparmor/libvirt-qemu
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/security/apparmor/libvirt-qemu --- libvirt-6.5.0.orig/src/security/apparmor/libvirt-qemu
+++ libvirt-6.4.0/src/security/apparmor/libvirt-qemu +++ libvirt-6.5.0/src/security/apparmor/libvirt-qemu
@@ -233,3 +233,6 @@ @@ -233,3 +233,6 @@
# /sys/bus/nd/devices # /sys/bus/nd/devices
/ r, # harmless on any lsb compliant system / r, # harmless on any lsb compliant system

View File

@ -8,10 +8,10 @@ Subject: [PATCH] support managed pci devices in xen driver
src/xenxs/xen_xm.c | 28 +++++++++++++++++++++++++++- src/xenxs/xen_xm.c | 28 +++++++++++++++++++++++++++-
2 files changed, 35 insertions(+), 15 deletions(-) 2 files changed, 35 insertions(+), 15 deletions(-)
Index: libvirt-6.4.0/src/libxl/xen_common.c Index: libvirt-6.5.0/src/libxl/xen_common.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/libxl/xen_common.c --- libvirt-6.5.0.orig/src/libxl/xen_common.c
+++ libvirt-6.4.0/src/libxl/xen_common.c +++ libvirt-6.5.0/src/libxl/xen_common.c
@@ -381,12 +381,19 @@ xenParsePCI(char *entry) @@ -381,12 +381,19 @@ xenParsePCI(char *entry)
int busID; int busID;
int slotID; int slotID;

View File

@ -8,10 +8,10 @@ It was also noticed that the per-domain profiles need a libnl rule
to squelch a denial when starting confined domains. to squelch a denial when starting confined domains.
Found while investigating bsc#1058847 Found while investigating bsc#1058847
Index: libvirt-6.4.0/src/security/apparmor/libvirt-qemu Index: libvirt-6.5.0/src/security/apparmor/libvirt-qemu
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/security/apparmor/libvirt-qemu --- libvirt-6.5.0.orig/src/security/apparmor/libvirt-qemu
+++ libvirt-6.4.0/src/security/apparmor/libvirt-qemu +++ libvirt-6.5.0/src/security/apparmor/libvirt-qemu
@@ -61,6 +61,7 @@ @@ -61,6 +61,7 @@
#/dev/fb* rw, #/dev/fb* rw,
@ -20,10 +20,10 @@ Index: libvirt-6.4.0/src/security/apparmor/libvirt-qemu
@{HOME}/.pulse-cookie rwk, @{HOME}/.pulse-cookie rwk,
owner /root/.pulse-cookie rwk, owner /root/.pulse-cookie rwk,
owner /root/.pulse/ rw, owner /root/.pulse/ rw,
Index: libvirt-6.4.0/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in Index: libvirt-6.5.0/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in --- libvirt-6.5.0.orig/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in
+++ libvirt-6.4.0/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in +++ libvirt-6.5.0/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in
@@ -19,7 +19,7 @@ profile virt-aa-helper @libexecdir@/virt @@ -19,7 +19,7 @@ profile virt-aa-helper @libexecdir@/virt
# Used when internally running another command (namely apparmor_parser) # Used when internally running another command (namely apparmor_parser)
@{PROC}/@{pid}/fd/ r, @{PROC}/@{pid}/fd/ r,

View File

@ -9,10 +9,10 @@ need backporting to anything older. The dependency on xen.git commit
c3999835df makes it hard to upstream this patch. c3999835df makes it hard to upstream this patch.
See bsc#1157490 and bsc#1167007 for more details See bsc#1157490 and bsc#1167007 for more details
Index: libvirt-6.4.0/m4/virt-driver-libxl.m4 Index: libvirt-6.5.0/m4/virt-driver-libxl.m4
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/m4/virt-driver-libxl.m4 --- libvirt-6.5.0.orig/m4/virt-driver-libxl.m4
+++ libvirt-6.4.0/m4/virt-driver-libxl.m4 +++ libvirt-6.5.0/m4/virt-driver-libxl.m4
@@ -26,11 +26,11 @@ AC_DEFUN([LIBVIRT_DRIVER_CHECK_LIBXL], [ @@ -26,11 +26,11 @@ AC_DEFUN([LIBVIRT_DRIVER_CHECK_LIBXL], [
LIBXL_CFLAGS="" LIBXL_CFLAGS=""
LIBXL_FIRMWARE_DIR="" LIBXL_FIRMWARE_DIR=""
@ -27,10 +27,10 @@ Index: libvirt-6.4.0/m4/virt-driver-libxl.m4
if test "x$with_libxl" = "xyes" ; then if test "x$with_libxl" = "xyes" ; then
LIBXL_FIRMWARE_DIR=$($PKG_CONFIG --variable xenfirmwaredir xenlight) LIBXL_FIRMWARE_DIR=$($PKG_CONFIG --variable xenfirmwaredir xenlight)
LIBXL_EXECBIN_DIR=$($PKG_CONFIG --variable libexec_bin xenlight) LIBXL_EXECBIN_DIR=$($PKG_CONFIG --variable libexec_bin xenlight)
Index: libvirt-6.4.0/src/libxl/libxl_conf.c Index: libvirt-6.5.0/src/libxl/libxl_conf.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/libxl/libxl_conf.c --- libvirt-6.5.0.orig/src/libxl/libxl_conf.c
+++ libvirt-6.4.0/src/libxl/libxl_conf.c +++ libvirt-6.5.0/src/libxl/libxl_conf.c
@@ -1823,7 +1823,7 @@ libxlDriverConfigNew(void) @@ -1823,7 +1823,7 @@ libxlDriverConfigNew(void)
int int
libxlDriverConfigInit(libxlDriverConfigPtr cfg) libxlDriverConfigInit(libxlDriverConfigPtr cfg)
@ -40,10 +40,10 @@ Index: libvirt-6.4.0/src/libxl/libxl_conf.c
if (virFileMakePath(cfg->logDir) < 0) { if (virFileMakePath(cfg->logDir) < 0) {
virReportError(VIR_ERR_INTERNAL_ERROR, virReportError(VIR_ERR_INTERNAL_ERROR,
Index: libvirt-6.4.0/src/libxl/libxl_domain.c Index: libvirt-6.5.0/src/libxl/libxl_domain.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/libxl/libxl_domain.c --- libvirt-6.5.0.orig/src/libxl/libxl_domain.c
+++ libvirt-6.4.0/src/libxl/libxl_domain.c +++ libvirt-6.5.0/src/libxl/libxl_domain.c
@@ -1020,8 +1020,8 @@ libxlDomainSetVcpuAffinities(libxlDriver @@ -1020,8 +1020,8 @@ libxlDomainSetVcpuAffinities(libxlDriver
static int static int
libxlDomainFreeMem(libxl_ctx *ctx, libxl_domain_config *d_config) libxlDomainFreeMem(libxl_ctx *ctx, libxl_domain_config *d_config)
@ -64,10 +64,10 @@ Index: libvirt-6.4.0/src/libxl/libxl_domain.c
&aop_console_how); &aop_console_how);
libxl_domain_restore_params_dispose(&params); libxl_domain_restore_params_dispose(&params);
} }
Index: libvirt-6.4.0/tests/libxlmock.c Index: libvirt-6.5.0/tests/libxlmock.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/tests/libxlmock.c --- libvirt-6.5.0.orig/tests/libxlmock.c
+++ libvirt-6.4.0/tests/libxlmock.c +++ libvirt-6.5.0/tests/libxlmock.c
@@ -67,7 +67,7 @@ VIR_MOCK_IMPL_RET_ARGS(libxl_get_version @@ -67,7 +67,7 @@ VIR_MOCK_IMPL_RET_ARGS(libxl_get_version
VIR_MOCK_STUB_RET_ARGS(libxl_get_free_memory, VIR_MOCK_STUB_RET_ARGS(libxl_get_free_memory,
int, 0, int, 0,

View File

@ -1,9 +1,9 @@
Adjust libvirt-guests service to conform to SUSE standards Adjust libvirt-guests service to conform to SUSE standards
Index: libvirt-6.4.0/tools/libvirt-guests.sh.in Index: libvirt-6.5.0/tools/libvirt-guests.sh.in
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/tools/libvirt-guests.sh.in --- libvirt-6.5.0.orig/tools/libvirt-guests.sh.in
+++ libvirt-6.4.0/tools/libvirt-guests.sh.in +++ libvirt-6.5.0/tools/libvirt-guests.sh.in
@@ -16,14 +16,13 @@ @@ -16,14 +16,13 @@
# License along with this library. If not, see # License along with this library. If not, see
# <http://www.gnu.org/licenses/>. # <http://www.gnu.org/licenses/>.
@ -163,10 +163,10 @@ Index: libvirt-6.4.0/tools/libvirt-guests.sh.in
esac esac
-exit $RETVAL -exit $RETVAL
+rc_exit +rc_exit
Index: libvirt-6.4.0/tools/libvirt-guests.sysconf Index: libvirt-6.5.0/tools/libvirt-guests.sysconf
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/tools/libvirt-guests.sysconf --- libvirt-6.5.0.orig/tools/libvirt-guests.sysconf
+++ libvirt-6.4.0/tools/libvirt-guests.sysconf +++ libvirt-6.5.0/tools/libvirt-guests.sysconf
@@ -1,9 +1,14 @@ @@ -1,9 +1,14 @@
+## Path: System/Virtualization/libvirt-guests +## Path: System/Virtualization/libvirt-guests
# Customizations for the libvirt-guests.service systemd unit # Customizations for the libvirt-guests.service systemd unit

View File

@ -3,10 +3,10 @@ Disable TLS by default
On SUSE distros, the default is for libvirtd to listen only on the On SUSE distros, the default is for libvirtd to listen only on the
Unix Domain Socket. The libvirt client still provides remote access Unix Domain Socket. The libvirt client still provides remote access
via a SSH tunnel. via a SSH tunnel.
Index: libvirt-6.4.0/src/remote/remote_daemon_config.c Index: libvirt-6.5.0/src/remote/remote_daemon_config.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/remote/remote_daemon_config.c --- libvirt-6.5.0.orig/src/remote/remote_daemon_config.c
+++ libvirt-6.4.0/src/remote/remote_daemon_config.c +++ libvirt-6.5.0/src/remote/remote_daemon_config.c
@@ -99,7 +99,7 @@ daemonConfigNew(bool privileged G_GNUC_U @@ -99,7 +99,7 @@ daemonConfigNew(bool privileged G_GNUC_U
#ifdef WITH_IP #ifdef WITH_IP
@ -16,10 +16,10 @@ Index: libvirt-6.4.0/src/remote/remote_daemon_config.c
# else /* ! LIBVIRTD */ # else /* ! LIBVIRTD */
data->listen_tls = false; /* Always honoured, --listen doesn't exist. */ data->listen_tls = false; /* Always honoured, --listen doesn't exist. */
# endif /* ! LIBVIRTD */ # endif /* ! LIBVIRTD */
Index: libvirt-6.4.0/src/remote/libvirtd.conf.in Index: libvirt-6.5.0/src/remote/libvirtd.conf.in
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/remote/libvirtd.conf.in --- libvirt-6.5.0.orig/src/remote/libvirtd.conf.in
+++ libvirt-6.4.0/src/remote/libvirtd.conf.in +++ libvirt-6.5.0/src/remote/libvirtd.conf.in
@@ -17,8 +17,8 @@ @@ -17,8 +17,8 @@
# It is necessary to setup a CA and issue server certificates before # It is necessary to setup a CA and issue server certificates before
# using this capability. # using this capability.

View File

@ -1,9 +1,9 @@
Adjust libvirtd sysconfig file to conform to SUSE standards Adjust libvirtd sysconfig file to conform to SUSE standards
Index: libvirt-6.4.0/src/remote/libvirtd.sysconf Index: libvirt-6.5.0/src/remote/libvirtd.sysconf
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/remote/libvirtd.sysconf --- libvirt-6.5.0.orig/src/remote/libvirtd.sysconf
+++ libvirt-6.4.0/src/remote/libvirtd.sysconf +++ libvirt-6.5.0/src/remote/libvirtd.sysconf
@@ -1,5 +1,9 @@ @@ -1,5 +1,9 @@
+## Path: System/Virtualization/libvirt +## Path: System/Virtualization/libvirt
# Customizations for the libvirtd.service systemd unit # Customizations for the libvirtd.service systemd unit

View File

@ -6,10 +6,10 @@ autoballooning. This patch changes libvirt to also disable autoballooning
by default. It can only be enabled with the 'autoballoon' setting in by default. It can only be enabled with the 'autoballoon' setting in
libxl.conf. See jsc#SLE-3059 for more details. libxl.conf. See jsc#SLE-3059 for more details.
Index: libvirt-6.4.0/src/libxl/libxl.conf Index: libvirt-6.5.0/src/libxl/libxl.conf
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/libxl/libxl.conf --- libvirt-6.5.0.orig/src/libxl/libxl.conf
+++ libvirt-6.4.0/src/libxl/libxl.conf +++ libvirt-6.5.0/src/libxl/libxl.conf
@@ -4,12 +4,11 @@ @@ -4,12 +4,11 @@
# Enable autoballooning of domain0 # Enable autoballooning of domain0
@ -27,10 +27,10 @@ Index: libvirt-6.4.0/src/libxl/libxl.conf
# In order to prevent accidentally starting two domains that # In order to prevent accidentally starting two domains that
Index: libvirt-6.4.0/src/libxl/libxl_conf.c Index: libvirt-6.5.0/src/libxl/libxl_conf.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/libxl/libxl_conf.c --- libvirt-6.5.0.orig/src/libxl/libxl_conf.c
+++ libvirt-6.4.0/src/libxl/libxl_conf.c +++ libvirt-6.5.0/src/libxl/libxl_conf.c
@@ -1737,15 +1737,12 @@ libxlMakeBuildInfoVfb(virPortAllocatorRa @@ -1737,15 +1737,12 @@ libxlMakeBuildInfoVfb(virPortAllocatorRa
/* /*
* Get domain0 autoballoon configuration. Honor user-specified * Get domain0 autoballoon configuration. Honor user-specified

View File

@ -1,9 +1,9 @@
Adjust paths of OVMF firmwares on SUSE distros Adjust paths of OVMF firmwares on SUSE distros
Index: libvirt-6.4.0/src/qemu/qemu.conf Index: libvirt-6.5.0/src/qemu/qemu.conf
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/qemu/qemu.conf --- libvirt-6.5.0.orig/src/qemu/qemu.conf
+++ libvirt-6.4.0/src/qemu/qemu.conf +++ libvirt-6.5.0/src/qemu/qemu.conf
@@ -787,10 +787,9 @@ @@ -787,10 +787,9 @@
# for x86_64 and i686, but it's AAVMF for aarch64. The libvirt default # for x86_64 and i686, but it's AAVMF for aarch64. The libvirt default
# follows this scheme. # follows this scheme.
@ -18,10 +18,10 @@ Index: libvirt-6.4.0/src/qemu/qemu.conf
#] #]
# The backend to use for handling stdout/stderr output from # The backend to use for handling stdout/stderr output from
Index: libvirt-6.4.0/src/qemu/qemu_conf.c Index: libvirt-6.5.0/src/qemu/qemu_conf.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/qemu/qemu_conf.c --- libvirt-6.5.0.orig/src/qemu/qemu_conf.c
+++ libvirt-6.4.0/src/qemu/qemu_conf.c +++ libvirt-6.5.0/src/qemu/qemu_conf.c
@@ -96,10 +96,9 @@ qemuDriverUnlock(virQEMUDriverPtr driver @@ -96,10 +96,9 @@ qemuDriverUnlock(virQEMUDriverPtr driver
#ifndef DEFAULT_LOADER_NVRAM #ifndef DEFAULT_LOADER_NVRAM
@ -36,10 +36,10 @@ Index: libvirt-6.4.0/src/qemu/qemu_conf.c
#endif #endif
Index: libvirt-6.4.0/src/security/virt-aa-helper.c Index: libvirt-6.5.0/src/security/virt-aa-helper.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/security/virt-aa-helper.c --- libvirt-6.5.0.orig/src/security/virt-aa-helper.c
+++ libvirt-6.4.0/src/security/virt-aa-helper.c +++ libvirt-6.5.0/src/security/virt-aa-helper.c
@@ -479,7 +479,8 @@ valid_path(const char *path, const bool @@ -479,7 +479,8 @@ valid_path(const char *path, const bool
"/usr/share/ovmf/", /* for OVMF images */ "/usr/share/ovmf/", /* for OVMF images */
"/usr/share/AAVMF/", /* for AAVMF images */ "/usr/share/AAVMF/", /* for AAVMF images */

View File

@ -7,10 +7,10 @@ suse-qemu-conf-secdriver.patch, suse-qemu-conf-lockmgr.patch,
etc.), but for now they are all lumped together in this etc.), but for now they are all lumped together in this
single patch. single patch.
Index: libvirt-6.4.0/src/qemu/qemu.conf Index: libvirt-6.5.0/src/qemu/qemu.conf
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/qemu/qemu.conf --- libvirt-6.5.0.orig/src/qemu/qemu.conf
+++ libvirt-6.4.0/src/qemu/qemu.conf +++ libvirt-6.5.0/src/qemu/qemu.conf
@@ -420,10 +420,19 @@ @@ -420,10 +420,19 @@
# isolation, but it cannot appear in a list of drivers. # isolation, but it cannot appear in a list of drivers.
# #
@ -60,10 +60,10 @@ Index: libvirt-6.4.0/src/qemu/qemu.conf
# #
#lock_manager = "lockd" #lock_manager = "lockd"
Index: libvirt-6.4.0/src/qemu/qemu_conf.c Index: libvirt-6.5.0/src/qemu/qemu_conf.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/qemu/qemu_conf.c --- libvirt-6.5.0.orig/src/qemu/qemu_conf.c
+++ libvirt-6.4.0/src/qemu/qemu_conf.c +++ libvirt-6.5.0/src/qemu/qemu_conf.c
@@ -266,7 +266,7 @@ virQEMUDriverConfigPtr virQEMUDriverConf @@ -266,7 +266,7 @@ virQEMUDriverConfigPtr virQEMUDriverConf
cfg->slirpHelperName = g_strdup(QEMU_SLIRP_HELPER); cfg->slirpHelperName = g_strdup(QEMU_SLIRP_HELPER);
cfg->dbusDaemonName = g_strdup(QEMU_DBUS_DAEMON); cfg->dbusDaemonName = g_strdup(QEMU_DBUS_DAEMON);

View File

@ -1,9 +1,9 @@
Adjust virtlockd sysconfig file to conform to SUSE standards Adjust virtlockd sysconfig file to conform to SUSE standards
Index: libvirt-6.4.0/src/locking/virtlockd.sysconf Index: libvirt-6.5.0/src/locking/virtlockd.sysconf
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/locking/virtlockd.sysconf --- libvirt-6.5.0.orig/src/locking/virtlockd.sysconf
+++ libvirt-6.4.0/src/locking/virtlockd.sysconf +++ libvirt-6.5.0/src/locking/virtlockd.sysconf
@@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
+## Path: System/Virtualization/virtlockd +## Path: System/Virtualization/virtlockd
+ +

View File

@ -1,9 +1,9 @@
Adjust virtlogd sysconfig file to conform to SUSE standards Adjust virtlogd sysconfig file to conform to SUSE standards
Index: libvirt-6.4.0/src/logging/virtlogd.sysconf Index: libvirt-6.5.0/src/logging/virtlogd.sysconf
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/logging/virtlogd.sysconf --- libvirt-6.5.0.orig/src/logging/virtlogd.sysconf
+++ libvirt-6.4.0/src/logging/virtlogd.sysconf +++ libvirt-6.5.0/src/logging/virtlogd.sysconf
@@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
+## Path: System/Virtualization/virtlogd +## Path: System/Virtualization/virtlogd
+ +

View File

@ -5,10 +5,10 @@ upstream support for firmware autoselection in the xen driver. Sadly, the
upstream efforts to improve firmware handling in the qemu driver broke upstream efforts to improve firmware handling in the qemu driver broke
the firmware handling in the xen driver. the firmware handling in the xen driver.
Index: libvirt-6.4.0/src/libxl/libxl_conf.c Index: libvirt-6.5.0/src/libxl/libxl_conf.c
=================================================================== ===================================================================
--- libvirt-6.4.0.orig/src/libxl/libxl_conf.c --- libvirt-6.5.0.orig/src/libxl/libxl_conf.c
+++ libvirt-6.4.0/src/libxl/libxl_conf.c +++ libvirt-6.5.0/src/libxl/libxl_conf.c
@@ -1777,6 +1777,15 @@ libxlDriverConfigNew(void) @@ -1777,6 +1777,15 @@ libxlDriverConfigNew(void)
cfg->autoDumpDir = g_strdup(LIBXL_DUMP_DIR); cfg->autoDumpDir = g_strdup(LIBXL_DUMP_DIR);
cfg->channelDir = g_strdup(LIBXL_CHANNEL_DIR); cfg->channelDir = g_strdup(LIBXL_CHANNEL_DIR);