SHA256
1
0
forked from pool/libvirt

Accepting request 646452 from home:jfehlig:branches:Virtualization

- Update to libvirt 4.9.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - FATE#326371

OBS-URL: https://build.opensuse.org/request/show/646452
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=714
This commit is contained in:
James Fehlig 2018-11-05 16:10:54 +00:00 committed by Git OBS Bridge
parent bb7b9e576a
commit 7e651005e2
34 changed files with 195 additions and 187 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-4.8.0/src/conf/domain_stats.c Index: libvirt-4.9.0/src/conf/domain_stats.c
=================================================================== ===================================================================
--- /dev/null --- /dev/null
+++ libvirt-4.8.0/src/conf/domain_stats.c +++ libvirt-4.9.0/src/conf/domain_stats.c
@@ -0,0 +1,139 @@ @@ -0,0 +1,139 @@
+/* +/*
+ * domain_stats.c: domain stats extraction helpers + * domain_stats.c: domain stats extraction helpers
@ -162,10 +162,10 @@ Index: libvirt-4.8.0/src/conf/domain_stats.c
+} +}
+ +
+#undef STATS_ADD_NET_PARAM +#undef STATS_ADD_NET_PARAM
Index: libvirt-4.8.0/src/conf/domain_stats.h Index: libvirt-4.9.0/src/conf/domain_stats.h
=================================================================== ===================================================================
--- /dev/null --- /dev/null
+++ libvirt-4.8.0/src/conf/domain_stats.h +++ libvirt-4.9.0/src/conf/domain_stats.h
@@ -0,0 +1,64 @@ @@ -0,0 +1,64 @@
+/* +/*
+ * domain_stats.h: domain stats extraction helpers + * domain_stats.h: domain stats extraction helpers
@ -231,10 +231,10 @@ Index: libvirt-4.8.0/src/conf/domain_stats.h
+ int *maxparams); + int *maxparams);
+ +
+#endif /* __DOMAIN_STATS_H */ +#endif /* __DOMAIN_STATS_H */
Index: libvirt-4.8.0/src/libvirt_private.syms Index: libvirt-4.9.0/src/libvirt_private.syms
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/libvirt_private.syms --- libvirt-4.9.0.orig/src/libvirt_private.syms
+++ libvirt-4.8.0/src/libvirt_private.syms +++ libvirt-4.9.0/src/libvirt_private.syms
@@ -653,6 +653,9 @@ virDomainConfNWFilterInstantiate; @@ -653,6 +653,9 @@ virDomainConfNWFilterInstantiate;
virDomainConfNWFilterTeardown; virDomainConfNWFilterTeardown;
virDomainConfVMNWFilterTeardown; virDomainConfVMNWFilterTeardown;
@ -253,10 +253,10 @@ Index: libvirt-4.8.0/src/libvirt_private.syms
virCgroupHasController; virCgroupHasController;
virCgroupHasEmptyTasks; virCgroupHasEmptyTasks;
virCgroupKillPainfully; virCgroupKillPainfully;
Index: libvirt-4.8.0/src/qemu/qemu_driver.c Index: libvirt-4.9.0/src/qemu/qemu_driver.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/qemu/qemu_driver.c --- libvirt-4.9.0.orig/src/qemu/qemu_driver.c
+++ libvirt-4.8.0/src/qemu/qemu_driver.c +++ libvirt-4.9.0/src/qemu/qemu_driver.c
@@ -69,6 +69,7 @@ @@ -69,6 +69,7 @@
#include "virarptable.h" #include "virarptable.h"
#include "viruuid.h" #include "viruuid.h"
@ -265,7 +265,7 @@ Index: libvirt-4.8.0/src/qemu/qemu_driver.c
#include "domain_audit.h" #include "domain_audit.h"
#include "node_device_conf.h" #include "node_device_conf.h"
#include "virpci.h" #include "virpci.h"
@@ -19674,21 +19675,7 @@ qemuDomainGetStatsState(virQEMUDriverPtr @@ -19677,21 +19678,7 @@ qemuDomainGetStatsState(virQEMUDriverPtr
int *maxparams, int *maxparams,
unsigned int privflags ATTRIBUTE_UNUSED) unsigned int privflags ATTRIBUTE_UNUSED)
{ {
@ -288,7 +288,7 @@ Index: libvirt-4.8.0/src/qemu/qemu_driver.c
} }
@@ -19711,37 +19698,7 @@ qemuDomainGetStatsCpu(virQEMUDriverPtr d @@ -19714,37 +19701,7 @@ qemuDomainGetStatsCpu(virQEMUDriverPtr d
unsigned int privflags ATTRIBUTE_UNUSED) unsigned int privflags ATTRIBUTE_UNUSED)
{ {
qemuDomainObjPrivatePtr priv = dom->privateData; qemuDomainObjPrivatePtr priv = dom->privateData;
@ -327,7 +327,7 @@ Index: libvirt-4.8.0/src/qemu/qemu_driver.c
} }
static int static int
@@ -19921,44 +19878,6 @@ qemuDomainGetStatsVcpu(virQEMUDriverPtr @@ -19924,44 +19881,6 @@ qemuDomainGetStatsVcpu(virQEMUDriverPtr
return ret; return ret;
} }
@ -372,7 +372,7 @@ Index: libvirt-4.8.0/src/qemu/qemu_driver.c
static int static int
qemuDomainGetStatsInterface(virQEMUDriverPtr driver ATTRIBUTE_UNUSED, qemuDomainGetStatsInterface(virQEMUDriverPtr driver ATTRIBUTE_UNUSED,
virDomainObjPtr dom, virDomainObjPtr dom,
@@ -19966,68 +19885,9 @@ qemuDomainGetStatsInterface(virQEMUDrive @@ -19969,68 +19888,9 @@ qemuDomainGetStatsInterface(virQEMUDrive
int *maxparams, int *maxparams,
unsigned int privflags ATTRIBUTE_UNUSED) unsigned int privflags ATTRIBUTE_UNUSED)
{ {
@ -442,7 +442,7 @@ Index: libvirt-4.8.0/src/qemu/qemu_driver.c
#define QEMU_ADD_BLOCK_PARAM_UI(record, maxparams, num, name, value) \ #define QEMU_ADD_BLOCK_PARAM_UI(record, maxparams, num, name, value) \
do { \ do { \
char param_name[VIR_TYPED_PARAM_FIELD_LENGTH]; \ char param_name[VIR_TYPED_PARAM_FIELD_LENGTH]; \
@@ -20260,10 +20120,10 @@ qemuDomainGetStatsBlockExportHeader(virD @@ -20263,10 +20123,10 @@ qemuDomainGetStatsBlockExportHeader(virD
{ {
int ret = -1; int ret = -1;
@ -455,7 +455,7 @@ Index: libvirt-4.8.0/src/qemu/qemu_driver.c
if (src->id) if (src->id)
QEMU_ADD_BLOCK_PARAM_UI(records, nrecords, recordnr, "backingIndex", QEMU_ADD_BLOCK_PARAM_UI(records, nrecords, recordnr, "backingIndex",
src->id); src->id);
@@ -20403,7 +20263,7 @@ qemuDomainGetStatsBlock(virQEMUDriverPtr @@ -20406,7 +20266,7 @@ qemuDomainGetStatsBlock(virQEMUDriverPtr
* after the iteration than it is to iterate twice; but we still * after the iteration than it is to iterate twice; but we still
* want count listed first. */ * want count listed first. */
count_index = record->nparams; count_index = record->nparams;
@ -464,7 +464,7 @@ Index: libvirt-4.8.0/src/qemu/qemu_driver.c
for (i = 0; i < dom->def->ndisks; i++) { for (i = 0; i < dom->def->ndisks; i++) {
if (qemuDomainGetStatsBlockExportDisk(dom->def->disks[i], stats, nodestats, if (qemuDomainGetStatsBlockExportDisk(dom->def->disks[i], stats, nodestats,
@@ -20428,10 +20288,6 @@ qemuDomainGetStatsBlock(virQEMUDriverPtr @@ -20431,10 +20291,6 @@ qemuDomainGetStatsBlock(virQEMUDriverPtr
#undef QEMU_ADD_BLOCK_PARAM_ULL #undef QEMU_ADD_BLOCK_PARAM_ULL
@ -475,11 +475,11 @@ Index: libvirt-4.8.0/src/qemu/qemu_driver.c
static int static int
qemuDomainGetStatsPerfOneEvent(virPerfPtr perf, qemuDomainGetStatsPerfOneEvent(virPerfPtr perf,
virPerfEventType type, virPerfEventType type,
Index: libvirt-4.8.0/src/util/vircgroup.c Index: libvirt-4.9.0/src/util/vircgroup.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/util/vircgroup.c --- libvirt-4.9.0.orig/src/util/vircgroup.c
+++ libvirt-4.8.0/src/util/vircgroup.c +++ libvirt-4.9.0/src/util/vircgroup.c
@@ -2628,6 +2628,44 @@ virCgroupControllerAvailable(int control @@ -2794,6 +2794,44 @@ virCgroupControllerAvailable(int control
return ret; return ret;
} }
@ -524,7 +524,7 @@ Index: libvirt-4.8.0/src/util/vircgroup.c
#else /* !__linux__ */ #else /* !__linux__ */
bool bool
@@ -2637,6 +2675,15 @@ virCgroupAvailable(void) @@ -2803,6 +2841,15 @@ virCgroupAvailable(void)
} }
@ -540,10 +540,10 @@ Index: libvirt-4.8.0/src/util/vircgroup.c
int int
virCgroupNewPartition(const char *path ATTRIBUTE_UNUSED, virCgroupNewPartition(const char *path ATTRIBUTE_UNUSED,
bool create ATTRIBUTE_UNUSED, bool create ATTRIBUTE_UNUSED,
Index: libvirt-4.8.0/src/util/vircgroup.h Index: libvirt-4.9.0/src/util/vircgroup.h
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/util/vircgroup.h --- libvirt-4.9.0.orig/src/util/vircgroup.h
+++ libvirt-4.8.0/src/util/vircgroup.h +++ libvirt-4.9.0/src/util/vircgroup.h
@@ -287,4 +287,9 @@ int virCgroupSetOwner(virCgroupPtr cgrou @@ -287,4 +287,9 @@ int virCgroupSetOwner(virCgroupPtr cgrou
int virCgroupHasEmptyTasks(virCgroupPtr cgroup, int controller); int virCgroupHasEmptyTasks(virCgroupPtr cgroup, int controller);
@ -554,10 +554,10 @@ Index: libvirt-4.8.0/src/util/vircgroup.h
+ int *maxparams); + int *maxparams);
+ +
#endif /* __VIR_CGROUP_H__ */ #endif /* __VIR_CGROUP_H__ */
Index: libvirt-4.8.0/src/conf/Makefile.inc.am Index: libvirt-4.9.0/src/conf/Makefile.inc.am
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/conf/Makefile.inc.am --- libvirt-4.9.0.orig/src/conf/Makefile.inc.am
+++ libvirt-4.8.0/src/conf/Makefile.inc.am +++ libvirt-4.9.0/src/conf/Makefile.inc.am
@@ -20,6 +20,8 @@ DOMAIN_CONF_SOURCES = \ @@ -20,6 +20,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-4.8.0/src/libxl/libxl_driver.c Index: libvirt-4.9.0/src/libxl/libxl_driver.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/libxl/libxl_driver.c --- libvirt-4.9.0.orig/src/libxl/libxl_driver.c
+++ libvirt-4.8.0/src/libxl/libxl_driver.c +++ libvirt-4.9.0/src/libxl/libxl_driver.c
@@ -5253,6 +5253,97 @@ libxlDomainMemoryStats(virDomainPtr dom, @@ -5253,6 +5253,97 @@ libxlDomainMemoryStats(virDomainPtr dom,
#undef LIBXL_SET_MEMSTAT #undef LIBXL_SET_MEMSTAT

View File

@ -9,10 +9,10 @@ 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-4.8.0/src/lxc/lxc_driver.c Index: libvirt-4.9.0/src/lxc/lxc_driver.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/lxc/lxc_driver.c --- libvirt-4.9.0.orig/src/lxc/lxc_driver.c
+++ libvirt-4.8.0/src/lxc/lxc_driver.c +++ libvirt-4.9.0/src/lxc/lxc_driver.c
@@ -78,6 +78,7 @@ @@ -78,6 +78,7 @@
#include "viraccessapichecklxc.h" #include "viraccessapichecklxc.h"
#include "virhostdev.h" #include "virhostdev.h"

View File

@ -1,7 +1,7 @@
Index: libvirt-4.8.0/examples/apparmor/libvirt-lxc Index: libvirt-4.9.0/examples/apparmor/libvirt-lxc
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/examples/apparmor/libvirt-lxc --- libvirt-4.9.0.orig/examples/apparmor/libvirt-lxc
+++ libvirt-4.8.0/examples/apparmor/libvirt-lxc +++ libvirt-4.9.0/examples/apparmor/libvirt-lxc
@@ -2,39 +2,15 @@ @@ -2,39 +2,15 @@
#include <abstractions/base> #include <abstractions/base>

View File

@ -11,11 +11,11 @@ Signed-off-by: Chunyan Liu <cyliu@suse.com>
src/qemu/qemu_driver.c | 7 +++++++ src/qemu/qemu_driver.c | 7 +++++++
1 file changed, 7 insertions(+) 1 file changed, 7 insertions(+)
Index: libvirt-4.8.0/src/qemu/qemu_driver.c Index: libvirt-4.9.0/src/qemu/qemu_driver.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/qemu/qemu_driver.c --- libvirt-4.9.0.orig/src/qemu/qemu_driver.c
+++ libvirt-4.8.0/src/qemu/qemu_driver.c +++ libvirt-4.9.0/src/qemu/qemu_driver.c
@@ -17503,6 +17503,14 @@ qemuDomainBlockCopyCommon(virDomainObjPt @@ -17506,6 +17506,14 @@ qemuDomainBlockCopyCommon(virDomainObjPt
goto endjob; goto endjob;
} }

View File

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

View File

@ -1,10 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEcBAABAgAGBQJbsjv9AAoJEBVYiyZZa+pdHs8H/2Vq5LT4yMFlSA6gephfgPkV
+I8lITiZleJuQLDN73iUrUvCw2rOY0B5s0TRAwUIdh4t0dtszJt2X+MsaLY+n3dB
19WZSTGtwOy/gd5NNPz8ua2Z4KH1DPcme2pMkqurwsmu+6FBnl+gVZYZeZm4S1gl
C/8JZu/5VDCbN/HDgQQ1fGlgSZZZ5JwLoHF6USg3GDEOO20B4LUeOiy5Vgp/B8+T
7C0Jf4KS6rsH5HXw63ATrTWO/XYbDeoVYXgWe9tugsyVO8mzoF/Odu49Pkc2Kzp5
Sdod9MsAIFgZLKNCw3izCaCpf2Xdwwz7D3wF7BIdKsVgUfX52Xk84/YwyHT2O2Q=
=w6sZ
-----END PGP SIGNATURE-----

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4fd4bfe7312b7996a817c7919cf0062de0d5b3c400c93bd30855a46c40dd455a
size 14744184

10
libvirt-4.9.0.tar.xz.asc Normal file
View File

@ -0,0 +1,10 @@
-----BEGIN PGP SIGNATURE-----
iQEcBAABAgAGBQJb3yVYAAoJEBVYiyZZa+pde8QIALgbitxgn79S7cAYatk5xv7n
5OKXY6MjaF1568fx6uCnFo/hM7GR4l43Lqjk4lc3nNxYjhnCIjK6fpwdnIKg0G+F
JgsGV0Ydjxrqs140SnhgYYWyaHq6juHdqSdfKqnLJ/uPYVUPhUomhZ5c4LvBcYCX
3Sy9TKJOpFjEmuBpzZHMzvXibtS+fUkTyzlNixOQ/tjVNnYu1OboOuXov4ay+aS4
uild4jnO86mDa0LBxHWVEobjLiJs5RTDPbnnn8DT6nRdn14TzAsIJU2wms8OO36w
x3h1Ao59X7yUKOE5rYZnIIG6oW2I6jM3Vy6NxDVNAx0P/1/bCqE7lwgJD4uh2Zg=
=aLc3
-----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-4.8.0/src/cpu_map/ppc64_POWER8.xml Index: libvirt-4.9.0/src/cpu_map/ppc64_POWER8.xml
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/cpu_map/ppc64_POWER8.xml --- libvirt-4.9.0.orig/src/cpu_map/ppc64_POWER8.xml
+++ libvirt-4.8.0/src/cpu_map/ppc64_POWER8.xml +++ libvirt-4.9.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-4.8.0/configure.ac Index: libvirt-4.9.0/configure.ac
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/configure.ac --- libvirt-4.9.0.orig/configure.ac
+++ libvirt-4.8.0/configure.ac +++ libvirt-4.9.0/configure.ac
@@ -256,6 +256,7 @@ LIBVIRT_ARG_LIBSSH @@ -256,6 +256,7 @@ LIBVIRT_ARG_LIBSSH
LIBVIRT_ARG_LIBXML LIBVIRT_ARG_LIBXML
LIBVIRT_ARG_MACVTAP LIBVIRT_ARG_MACVTAP
@ -18,7 +18,7 @@ Index: libvirt-4.8.0/configure.ac
LIBVIRT_CHECK_NLS LIBVIRT_CHECK_NLS
LIBVIRT_CHECK_NUMACTL LIBVIRT_CHECK_NUMACTL
LIBVIRT_CHECK_NWFILTER LIBVIRT_CHECK_NWFILTER
@@ -984,6 +986,7 @@ LIBVIRT_RESULT_LIBXL @@ -1016,6 +1018,7 @@ LIBVIRT_RESULT_LIBXL
LIBVIRT_RESULT_LIBXML LIBVIRT_RESULT_LIBXML
LIBVIRT_RESULT_MACVTAP LIBVIRT_RESULT_MACVTAP
LIBVIRT_RESULT_NETCF LIBVIRT_RESULT_NETCF
@ -26,10 +26,10 @@ Index: libvirt-4.8.0/configure.ac
LIBVIRT_RESULT_NLS LIBVIRT_RESULT_NLS
LIBVIRT_RESULT_NSS LIBVIRT_RESULT_NSS
LIBVIRT_RESULT_NUMACTL LIBVIRT_RESULT_NUMACTL
Index: libvirt-4.8.0/tools/virsh.c Index: libvirt-4.9.0/tools/virsh.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/tools/virsh.c --- libvirt-4.9.0.orig/tools/virsh.c
+++ libvirt-4.8.0/tools/virsh.c +++ libvirt-4.9.0/tools/virsh.c
@@ -570,6 +570,8 @@ virshShowVersion(vshControl *ctl ATTRIBU @@ -570,6 +570,8 @@ virshShowVersion(vshControl *ctl ATTRIBU
vshPrint(ctl, " Interface"); vshPrint(ctl, " Interface");
# if defined(WITH_NETCF) # if defined(WITH_NETCF)
@ -39,10 +39,10 @@ Index: libvirt-4.8.0/tools/virsh.c
# elif defined(WITH_UDEV) # elif defined(WITH_UDEV)
vshPrint(ctl, " udev"); vshPrint(ctl, " udev");
# endif # endif
Index: libvirt-4.8.0/src/interface/interface_backend_netcf.c Index: libvirt-4.9.0/src/interface/interface_backend_netcf.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/interface/interface_backend_netcf.c --- libvirt-4.9.0.orig/src/interface/interface_backend_netcf.c
+++ libvirt-4.8.0/src/interface/interface_backend_netcf.c +++ libvirt-4.9.0/src/interface/interface_backend_netcf.c
@@ -23,7 +23,12 @@ @@ -23,7 +23,12 @@
#include <config.h> #include <config.h>
@ -126,10 +126,10 @@ Index: libvirt-4.8.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-4.8.0/src/interface/interface_driver.c Index: libvirt-4.9.0/src/interface/interface_driver.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/interface/interface_driver.c --- libvirt-4.9.0.orig/src/interface/interface_driver.c
+++ libvirt-4.8.0/src/interface/interface_driver.c +++ libvirt-4.9.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;
@ -147,10 +147,10 @@ Index: libvirt-4.8.0/src/interface/interface_driver.c
if (udevIfaceRegister() == 0) if (udevIfaceRegister() == 0)
return 0; return 0;
#endif /* WITH_UDEV */ #endif /* WITH_UDEV */
Index: libvirt-4.8.0/m4/virt-netcontrol.m4 Index: libvirt-4.9.0/m4/virt-netcontrol.m4
=================================================================== ===================================================================
--- /dev/null --- /dev/null
+++ libvirt-4.8.0/m4/virt-netcontrol.m4 +++ libvirt-4.9.0/m4/virt-netcontrol.m4
@@ -0,0 +1,39 @@ @@ -0,0 +1,39 @@
+dnl The libnetcontrol library +dnl The libnetcontrol library
+dnl +dnl
@ -191,10 +191,10 @@ Index: libvirt-4.8.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-4.8.0/src/interface/Makefile.inc.am Index: libvirt-4.9.0/src/interface/Makefile.inc.am
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/interface/Makefile.inc.am --- libvirt-4.9.0.orig/src/interface/Makefile.inc.am
+++ libvirt-4.8.0/src/interface/Makefile.inc.am +++ libvirt-4.9.0/src/interface/Makefile.inc.am
@@ -4,6 +4,7 @@ INTERFACE_DRIVER_SOURCES = \ @@ -4,6 +4,7 @@ INTERFACE_DRIVER_SOURCES = \
$(NULL) $(NULL)

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Nov 5 15:10:31 UTC 2018 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 4.9.0
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- FATE#326371
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 19 16:47:18 UTC 2018 - jfehlig@suse.com Fri Oct 19 16:47:18 UTC 2018 - jfehlig@suse.com

View File

@ -185,7 +185,7 @@
Name: libvirt Name: libvirt
Url: http://libvirt.org/ Url: http://libvirt.org/
Version: 4.8.0 Version: 4.9.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

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-4.8.0/src/libxl/libxl_driver.c Index: libvirt-4.9.0/src/libxl/libxl_driver.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/libxl/libxl_driver.c --- libvirt-4.9.0.orig/src/libxl/libxl_driver.c
+++ libvirt-4.8.0/src/libxl/libxl_driver.c +++ libvirt-4.9.0/src/libxl/libxl_driver.c
@@ -1355,6 +1355,61 @@ libxlDomainReboot(virDomainPtr dom, unsi @@ -1355,6 +1355,61 @@ libxlDomainReboot(virDomainPtr dom, unsi
} }

View File

@ -8,10 +8,10 @@ as the default <emulator>, instead of the qemu-xen one.
See FATE#320638 for details. See FATE#320638 for details.
Index: libvirt-4.8.0/src/libxl/libxl_capabilities.c Index: libvirt-4.9.0/src/libxl/libxl_capabilities.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/libxl/libxl_capabilities.c --- libvirt-4.9.0.orig/src/libxl/libxl_capabilities.c
+++ libvirt-4.8.0/src/libxl/libxl_capabilities.c +++ libvirt-4.9.0/src/libxl/libxl_capabilities.c
@@ -38,6 +38,7 @@ @@ -38,6 +38,7 @@
#include "libxl_capabilities.h" #include "libxl_capabilities.h"
#include "cpu/cpu_x86.h" #include "cpu/cpu_x86.h"

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-4.8.0/src/libxl/libxl_conf.c Index: libvirt-4.9.0/src/libxl/libxl_conf.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/libxl/libxl_conf.c --- libvirt-4.9.0.orig/src/libxl/libxl_conf.c
+++ libvirt-4.8.0/src/libxl/libxl_conf.c +++ libvirt-4.9.0/src/libxl/libxl_conf.c
@@ -848,6 +848,30 @@ libxlDiskSetDiscard(libxl_device_disk *x @@ -848,6 +848,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-4.8.0/include/libvirt/libvirt-domain.h Index: libvirt-4.9.0/include/libvirt/libvirt-domain.h
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/include/libvirt/libvirt-domain.h --- libvirt-4.9.0.orig/include/libvirt/libvirt-domain.h
+++ libvirt-4.8.0/include/libvirt/libvirt-domain.h +++ libvirt-4.9.0/include/libvirt/libvirt-domain.h
@@ -1015,6 +1015,31 @@ typedef enum { @@ -1015,6 +1015,31 @@ typedef enum {
*/ */
# define VIR_MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT "auto_converge.increment" # define VIR_MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT "auto_converge.increment"
@ -52,10 +52,10 @@ Index: libvirt-4.8.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-4.8.0/src/libxl/libxl_driver.c Index: libvirt-4.9.0/src/libxl/libxl_driver.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/libxl/libxl_driver.c --- libvirt-4.9.0.orig/src/libxl/libxl_driver.c
+++ libvirt-4.8.0/src/libxl/libxl_driver.c +++ libvirt-4.9.0/src/libxl/libxl_driver.c
@@ -6119,6 +6119,9 @@ libxlDomainMigratePerform3Params(virDoma @@ -6119,6 +6119,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-4.8.0/src/libxl/libxl_driver.c
goto cleanup; goto cleanup;
} }
Index: libvirt-4.8.0/src/libxl/libxl_migration.c Index: libvirt-4.9.0/src/libxl/libxl_migration.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/libxl/libxl_migration.c --- libvirt-4.9.0.orig/src/libxl/libxl_migration.c
+++ libvirt-4.8.0/src/libxl/libxl_migration.c +++ libvirt-4.9.0/src/libxl/libxl_migration.c
@@ -346,18 +346,39 @@ libxlMigrateDstReceive(virNetSocketPtr s @@ -346,18 +346,39 @@ libxlMigrateDstReceive(virNetSocketPtr s
static int static int
libxlDoMigrateSrcSend(libxlDriverPrivatePtr driver, libxlDoMigrateSrcSend(libxlDriverPrivatePtr driver,
@ -264,10 +264,10 @@ Index: libvirt-4.8.0/src/libxl/libxl_migration.c
virObjectLock(vm); virObjectLock(vm);
if (ret < 0) { if (ret < 0) {
Index: libvirt-4.8.0/src/libxl/libxl_migration.h Index: libvirt-4.9.0/src/libxl/libxl_migration.h
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/libxl/libxl_migration.h --- libvirt-4.9.0.orig/src/libxl/libxl_migration.h
+++ libvirt-4.8.0/src/libxl/libxl_migration.h +++ libvirt-4.9.0/src/libxl/libxl_migration.h
@@ -39,6 +39,10 @@ @@ -39,6 +39,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,10 +312,10 @@ Index: libvirt-4.8.0/src/libxl/libxl_migration.h
virDomainPtr virDomainPtr
libxlDomainMigrationDstFinish(virConnectPtr dconn, libxlDomainMigrationDstFinish(virConnectPtr dconn,
Index: libvirt-4.8.0/tools/virsh-domain.c Index: libvirt-4.9.0/tools/virsh-domain.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/tools/virsh-domain.c --- libvirt-4.9.0.orig/tools/virsh-domain.c
+++ libvirt-4.8.0/tools/virsh-domain.c +++ libvirt-4.9.0/tools/virsh-domain.c
@@ -10450,6 +10450,22 @@ static const vshCmdOptDef opts_migrate[] @@ -10450,6 +10450,22 @@ static const vshCmdOptDef opts_migrate[]
.type = VSH_OT_BOOL, .type = VSH_OT_BOOL,
.help = N_("use TLS for migration") .help = N_("use TLS for migration")
@ -375,10 +375,10 @@ Index: libvirt-4.8.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-4.8.0/tools/virsh.pod Index: libvirt-4.9.0/tools/virsh.pod
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/tools/virsh.pod --- libvirt-4.9.0.orig/tools/virsh.pod
+++ libvirt-4.8.0/tools/virsh.pod +++ libvirt-4.9.0/tools/virsh.pod
@@ -1937,6 +1937,14 @@ Providing I<--tls> causes the migration @@ -1937,6 +1937,14 @@ Providing I<--tls> causes the migration
the migration of the domain. Usage requires proper TLS setup for both source the migration of the domain. Usage requires proper TLS setup for both source
and target. and target.

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-4.8.0/src/libxl/libxl_conf.c Index: libvirt-4.9.0/src/libxl/libxl_conf.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/libxl/libxl_conf.c --- libvirt-4.9.0.orig/src/libxl/libxl_conf.c
+++ libvirt-4.8.0/src/libxl/libxl_conf.c +++ libvirt-4.9.0/src/libxl/libxl_conf.c
@@ -848,6 +848,25 @@ libxlDiskSetDiscard(libxl_device_disk *x @@ -848,6 +848,25 @@ libxlDiskSetDiscard(libxl_device_disk *x
#endif #endif
} }

View File

@ -13,10 +13,10 @@ 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-4.8.0/src/lxc/lxc_controller.c Index: libvirt-4.9.0/src/lxc/lxc_controller.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/lxc/lxc_controller.c --- libvirt-4.9.0.orig/src/lxc/lxc_controller.c
+++ libvirt-4.8.0/src/lxc/lxc_controller.c +++ libvirt-4.9.0/src/lxc/lxc_controller.c
@@ -72,6 +72,7 @@ @@ -72,6 +72,7 @@
#include "rpc/virnetdaemon.h" #include "rpc/virnetdaemon.h"
#include "virstring.h" #include "virstring.h"
@ -33,10 +33,10 @@ Index: libvirt-4.8.0/src/lxc/lxc_controller.c
return ret; return ret;
} }
Index: libvirt-4.8.0/src/lxc/lxc_driver.c Index: libvirt-4.9.0/src/lxc/lxc_driver.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/lxc/lxc_driver.c --- libvirt-4.9.0.orig/src/lxc/lxc_driver.c
+++ libvirt-4.8.0/src/lxc/lxc_driver.c +++ libvirt-4.9.0/src/lxc/lxc_driver.c
@@ -73,6 +73,7 @@ @@ -73,6 +73,7 @@
#include "virtime.h" #include "virtime.h"
#include "virtypedparam.h" #include "virtypedparam.h"
@ -61,10 +61,10 @@ Index: libvirt-4.8.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-4.8.0/src/lxc/lxc_process.c Index: libvirt-4.9.0/src/lxc/lxc_process.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/lxc/lxc_process.c --- libvirt-4.9.0.orig/src/lxc/lxc_process.c
+++ libvirt-4.8.0/src/lxc/lxc_process.c +++ libvirt-4.9.0/src/lxc/lxc_process.c
@@ -51,6 +51,7 @@ @@ -51,6 +51,7 @@
#include "viratomic.h" #include "viratomic.h"
#include "virprocess.h" #include "virprocess.h"

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-4.8.0/src/network/bridge_driver.c Index: libvirt-4.9.0/src/network/bridge_driver.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/network/bridge_driver.c --- libvirt-4.9.0.orig/src/network/bridge_driver.c
+++ libvirt-4.8.0/src/network/bridge_driver.c +++ libvirt-4.9.0/src/network/bridge_driver.c
@@ -1458,7 +1458,14 @@ networkDnsmasqConfContents(virNetworkObj @@ -1458,7 +1458,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-4.8.0/src/network/bridge_driver.c
} }
if (ipdef->tftproot) { if (ipdef->tftproot) {
Index: libvirt-4.8.0/tests/networkxml2confdata/dhcp6host-routed-network.conf Index: libvirt-4.9.0/tests/networkxml2confdata/dhcp6host-routed-network.conf
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/tests/networkxml2confdata/dhcp6host-routed-network.conf --- libvirt-4.9.0.orig/tests/networkxml2confdata/dhcp6host-routed-network.conf
+++ libvirt-4.8.0/tests/networkxml2confdata/dhcp6host-routed-network.conf +++ libvirt-4.9.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-4.8.0/src/util/virarch.c Index: libvirt-4.9.0/src/util/virarch.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/util/virarch.c --- libvirt-4.9.0.orig/src/util/virarch.c
+++ libvirt-4.8.0/src/util/virarch.c +++ libvirt-4.9.0/src/util/virarch.c
@@ -172,6 +172,8 @@ virArch virArchFromHost(void) @@ -172,6 +172,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-4.8.0/examples/apparmor/libvirt-qemu Index: libvirt-4.9.0/examples/apparmor/libvirt-qemu
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/examples/apparmor/libvirt-qemu --- libvirt-4.9.0.orig/examples/apparmor/libvirt-qemu
+++ libvirt-4.8.0/examples/apparmor/libvirt-qemu +++ libvirt-4.9.0/examples/apparmor/libvirt-qemu
@@ -221,3 +221,6 @@ @@ -221,3 +221,6 @@
# required for sasl GSSAPI plugin # required for sasl GSSAPI plugin
/etc/gss/mech.d/ r, /etc/gss/mech.d/ r,

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-4.8.0/src/xenconfig/xen_common.c Index: libvirt-4.9.0/src/xenconfig/xen_common.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/xenconfig/xen_common.c --- libvirt-4.9.0.orig/src/xenconfig/xen_common.c
+++ libvirt-4.8.0/src/xenconfig/xen_common.c +++ libvirt-4.9.0/src/xenconfig/xen_common.c
@@ -390,12 +390,19 @@ xenParsePCI(char *entry) @@ -390,12 +390,19 @@ xenParsePCI(char *entry)
int busID; int busID;
int slotID; int slotID;
@ -64,10 +64,10 @@ Index: libvirt-4.8.0/src/xenconfig/xen_common.c
hostdev->source.subsys.type = VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI; hostdev->source.subsys.type = VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI;
hostdev->source.subsys.u.pci.addr.domain = domainID; hostdev->source.subsys.u.pci.addr.domain = domainID;
hostdev->source.subsys.u.pci.addr.bus = busID; hostdev->source.subsys.u.pci.addr.bus = busID;
Index: libvirt-4.8.0/src/xenconfig/xen_sxpr.c Index: libvirt-4.9.0/src/xenconfig/xen_sxpr.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/xenconfig/xen_sxpr.c --- libvirt-4.9.0.orig/src/xenconfig/xen_sxpr.c
+++ libvirt-4.8.0/src/xenconfig/xen_sxpr.c +++ libvirt-4.9.0/src/xenconfig/xen_sxpr.c
@@ -1057,6 +1057,7 @@ xenParseSxprPCI(virDomainDefPtr def, @@ -1057,6 +1057,7 @@ xenParseSxprPCI(virDomainDefPtr def,
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-4.8.0/examples/apparmor/usr.lib.libvirt.virt-aa-helper Index: libvirt-4.9.0/examples/apparmor/usr.lib.libvirt.virt-aa-helper
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/examples/apparmor/usr.lib.libvirt.virt-aa-helper --- libvirt-4.9.0.orig/examples/apparmor/usr.lib.libvirt.virt-aa-helper
+++ libvirt-4.8.0/examples/apparmor/usr.lib.libvirt.virt-aa-helper +++ libvirt-4.9.0/examples/apparmor/usr.lib.libvirt.virt-aa-helper
@@ -17,7 +17,7 @@ profile virt-aa-helper /usr/{lib,lib64}/ @@ -17,7 +17,7 @@ profile virt-aa-helper /usr/{lib,lib64}/
owner @{PROC}/[0-9]*/status r, owner @{PROC}/[0-9]*/status r,
@{PROC}/filesystems r, @{PROC}/filesystems r,
@ -21,10 +21,10 @@ Index: libvirt-4.8.0/examples/apparmor/usr.lib.libvirt.virt-aa-helper
# for hostdev # for hostdev
/sys/devices/ r, /sys/devices/ r,
Index: libvirt-4.8.0/examples/apparmor/libvirt-qemu Index: libvirt-4.9.0/examples/apparmor/libvirt-qemu
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/examples/apparmor/libvirt-qemu --- libvirt-4.9.0.orig/examples/apparmor/libvirt-qemu
+++ libvirt-4.8.0/examples/apparmor/libvirt-qemu +++ libvirt-4.9.0/examples/apparmor/libvirt-qemu
@@ -62,6 +62,7 @@ @@ -62,6 +62,7 @@
#/dev/fb* rw, #/dev/fb* rw,

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-4.8.0/tools/libvirt-guests.init.in Index: libvirt-4.9.0/tools/libvirt-guests.init.in
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/tools/libvirt-guests.init.in --- libvirt-4.9.0.orig/tools/libvirt-guests.init.in
+++ libvirt-4.8.0/tools/libvirt-guests.init.in +++ libvirt-4.9.0/tools/libvirt-guests.init.in
@@ -4,27 +4,27 @@ @@ -4,27 +4,27 @@
# http://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html # http://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html
# #
@ -46,10 +46,10 @@ Index: libvirt-4.8.0/tools/libvirt-guests.init.in
+ +
exec @libexecdir@/libvirt-guests.sh "$@" exec @libexecdir@/libvirt-guests.sh "$@"
Index: libvirt-4.8.0/tools/libvirt-guests.sh.in Index: libvirt-4.9.0/tools/libvirt-guests.sh.in
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/tools/libvirt-guests.sh.in --- libvirt-4.9.0.orig/tools/libvirt-guests.sh.in
+++ libvirt-4.8.0/tools/libvirt-guests.sh.in +++ libvirt-4.9.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/>.
@ -209,10 +209,10 @@ Index: libvirt-4.8.0/tools/libvirt-guests.sh.in
esac esac
-exit $RETVAL -exit $RETVAL
+rc_exit +rc_exit
Index: libvirt-4.8.0/tools/libvirt-guests.sysconf Index: libvirt-4.9.0/tools/libvirt-guests.sysconf
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/tools/libvirt-guests.sysconf --- libvirt-4.9.0.orig/tools/libvirt-guests.sysconf
+++ libvirt-4.8.0/tools/libvirt-guests.sysconf +++ libvirt-4.9.0/tools/libvirt-guests.sysconf
@@ -1,19 +1,29 @@ @@ -1,19 +1,29 @@
+## Path: System/Virtualization/libvirt-guests +## Path: System/Virtualization/libvirt-guests
+ +

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-4.8.0/src/remote/libvirtd.conf Index: libvirt-4.9.0/src/remote/libvirtd.conf
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/remote/libvirtd.conf --- libvirt-4.9.0.orig/src/remote/libvirtd.conf
+++ libvirt-4.8.0/src/remote/libvirtd.conf +++ libvirt-4.9.0/src/remote/libvirtd.conf
@@ -18,8 +18,8 @@ @@ -18,8 +18,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.
@ -18,10 +18,10 @@ Index: libvirt-4.8.0/src/remote/libvirtd.conf
# Listen for unencrypted TCP connections on the public TCP/IP port. # Listen for unencrypted TCP connections on the public TCP/IP port.
# NB, must pass the --listen flag to the libvirtd process for this to # NB, must pass the --listen flag to the libvirtd process for this to
Index: libvirt-4.8.0/src/remote/remote_daemon_config.c Index: libvirt-4.9.0/src/remote/remote_daemon_config.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/remote/remote_daemon_config.c --- libvirt-4.9.0.orig/src/remote/remote_daemon_config.c
+++ libvirt-4.8.0/src/remote/remote_daemon_config.c +++ libvirt-4.9.0/src/remote/remote_daemon_config.c
@@ -110,7 +110,7 @@ daemonConfigNew(bool privileged ATTRIBUT @@ -110,7 +110,7 @@ daemonConfigNew(bool privileged ATTRIBUT
if (VIR_ALLOC(data) < 0) if (VIR_ALLOC(data) < 0)
return NULL; return NULL;
@ -31,10 +31,10 @@ Index: libvirt-4.8.0/src/remote/remote_daemon_config.c
data->listen_tcp = 0; data->listen_tcp = 0;
if (VIR_STRDUP(data->tls_port, LIBVIRTD_TLS_PORT) < 0 || if (VIR_STRDUP(data->tls_port, LIBVIRTD_TLS_PORT) < 0 ||
Index: libvirt-4.8.0/src/remote/test_libvirtd.aug.in Index: libvirt-4.9.0/src/remote/test_libvirtd.aug.in
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/remote/test_libvirtd.aug.in --- libvirt-4.9.0.orig/src/remote/test_libvirtd.aug.in
+++ libvirt-4.8.0/src/remote/test_libvirtd.aug.in +++ libvirt-4.9.0/src/remote/test_libvirtd.aug.in
@@ -2,7 +2,7 @@ module Test_libvirtd = @@ -2,7 +2,7 @@ module Test_libvirtd =
::CONFIG:: ::CONFIG::

View File

@ -7,10 +7,10 @@ On SUSE distros, we promote libvirt and all the libvirt-based
tools. If a user installs libvirt on their SUSE Xen host, then tools. If a user installs libvirt on their SUSE Xen host, then
libvirt should be king and override xendomains. See bsc#1015348 libvirt should be king and override xendomains. See bsc#1015348
Index: libvirt-4.8.0/src/remote/libvirtd.service.in Index: libvirt-4.9.0/src/remote/libvirtd.service.in
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/remote/libvirtd.service.in --- libvirt-4.9.0.orig/src/remote/libvirtd.service.in
+++ libvirt-4.8.0/src/remote/libvirtd.service.in +++ libvirt-4.9.0/src/remote/libvirtd.service.in
@@ -17,6 +17,8 @@ After=local-fs.target @@ -17,6 +17,8 @@ After=local-fs.target
After=remote-fs.target After=remote-fs.target
After=systemd-logind.service After=systemd-logind.service

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-4.8.0/src/remote/libvirtd.sysconf Index: libvirt-4.9.0/src/remote/libvirtd.sysconf
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/remote/libvirtd.sysconf --- libvirt-4.9.0.orig/src/remote/libvirtd.sysconf
+++ libvirt-4.8.0/src/remote/libvirtd.sysconf +++ libvirt-4.9.0/src/remote/libvirtd.sysconf
@@ -1,16 +1,25 @@ @@ -1,16 +1,25 @@
+## Path: System/Virtualization/libvirt +## Path: System/Virtualization/libvirt
+ +

View File

@ -1,9 +1,9 @@
Adjust paths of OVMF firmwares on SUSE distros Adjust paths of OVMF firmwares on SUSE distros
Index: libvirt-4.8.0/src/qemu/qemu.conf Index: libvirt-4.9.0/src/qemu/qemu.conf
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/qemu/qemu.conf --- libvirt-4.9.0.orig/src/qemu/qemu.conf
+++ libvirt-4.8.0/src/qemu/qemu.conf +++ libvirt-4.9.0/src/qemu/qemu.conf
@@ -768,10 +768,9 @@ security_default_confined = 0 @@ -768,10 +768,9 @@ security_default_confined = 0
# 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-4.8.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-4.8.0/src/qemu/qemu_conf.c Index: libvirt-4.9.0/src/qemu/qemu_conf.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/qemu/qemu_conf.c --- libvirt-4.9.0.orig/src/qemu/qemu_conf.c
+++ libvirt-4.8.0/src/qemu/qemu_conf.c +++ libvirt-4.9.0/src/qemu/qemu_conf.c
@@ -118,10 +118,9 @@ void qemuDomainCmdlineDefFree(qemuDomain @@ -118,10 +118,9 @@ void qemuDomainCmdlineDefFree(qemuDomain
#ifndef DEFAULT_LOADER_NVRAM #ifndef DEFAULT_LOADER_NVRAM
@ -36,10 +36,10 @@ Index: libvirt-4.8.0/src/qemu/qemu_conf.c
#endif #endif
Index: libvirt-4.8.0/src/security/virt-aa-helper.c Index: libvirt-4.9.0/src/security/virt-aa-helper.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/security/virt-aa-helper.c --- libvirt-4.9.0.orig/src/security/virt-aa-helper.c
+++ libvirt-4.8.0/src/security/virt-aa-helper.c +++ libvirt-4.9.0/src/security/virt-aa-helper.c
@@ -511,7 +511,8 @@ valid_path(const char *path, const bool @@ -511,7 +511,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-4.8.0/src/qemu/qemu.conf Index: libvirt-4.9.0/src/qemu/qemu.conf
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/qemu/qemu.conf --- libvirt-4.9.0.orig/src/qemu/qemu.conf
+++ libvirt-4.8.0/src/qemu/qemu.conf +++ libvirt-4.9.0/src/qemu/qemu.conf
@@ -414,11 +414,20 @@ @@ -414,11 +414,20 @@
# isolation, but it cannot appear in a list of drivers. # isolation, but it cannot appear in a list of drivers.
# #

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-4.8.0/src/locking/virtlockd.sysconf Index: libvirt-4.9.0/src/locking/virtlockd.sysconf
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/locking/virtlockd.sysconf --- libvirt-4.9.0.orig/src/locking/virtlockd.sysconf
+++ libvirt-4.8.0/src/locking/virtlockd.sysconf +++ libvirt-4.9.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-4.8.0/src/logging/virtlogd.sysconf Index: libvirt-4.9.0/src/logging/virtlogd.sysconf
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/logging/virtlogd.sysconf --- libvirt-4.9.0.orig/src/logging/virtlogd.sysconf
+++ libvirt-4.8.0/src/logging/virtlogd.sysconf +++ libvirt-4.9.0/src/logging/virtlogd.sysconf
@@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
+## Path: System/Virtualization/virtlogd +## Path: System/Virtualization/virtlogd
+ +

View File

@ -1,7 +1,7 @@
Index: libvirt-4.8.0/src/xenconfig/xen_sxpr.c Index: libvirt-4.9.0/src/xenconfig/xen_sxpr.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/xenconfig/xen_sxpr.c --- libvirt-4.9.0.orig/src/xenconfig/xen_sxpr.c
+++ libvirt-4.8.0/src/xenconfig/xen_sxpr.c +++ libvirt-4.9.0/src/xenconfig/xen_sxpr.c
@@ -387,7 +387,7 @@ xenParseSxprVifRate(const char *rate, un @@ -387,7 +387,7 @@ xenParseSxprVifRate(const char *rate, un
static int static int
xenParseSxprDisks(virDomainDefPtr def, xenParseSxprDisks(virDomainDefPtr def,

View File

@ -6,10 +6,10 @@ and 'file'. This was implicitly done prior to commit 9673418c.
https://bugzilla.suse.com/show_bug.cgi?id=938228 https://bugzilla.suse.com/show_bug.cgi?id=938228
Index: libvirt-4.8.0/src/xenconfig/xen_sxpr.c Index: libvirt-4.9.0/src/xenconfig/xen_sxpr.c
=================================================================== ===================================================================
--- libvirt-4.8.0.orig/src/xenconfig/xen_sxpr.c --- libvirt-4.9.0.orig/src/xenconfig/xen_sxpr.c
+++ libvirt-4.8.0/src/xenconfig/xen_sxpr.c +++ libvirt-4.9.0/src/xenconfig/xen_sxpr.c
@@ -501,10 +501,11 @@ xenParseSxprDisks(virDomainDefPtr def, @@ -501,10 +501,11 @@ xenParseSxprDisks(virDomainDefPtr def,
omnipotent, we can revisit this, perhaps stat()'ing omnipotent, we can revisit this, perhaps stat()'ing
the src file in question */ the src file in question */