SHA256
1
0
forked from pool/libvirt

Accepting request 363743 from home:jfehlig:branches:Virtualization

- Update to libvirt 1.3.2
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html

OBS-URL: https://build.opensuse.org/request/show/363743
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=512
This commit is contained in:
James Fehlig 2016-03-01 17:58:15 +00:00 committed by Git OBS Bridge
parent 83ea398b7d
commit 89b02a08bc
26 changed files with 148 additions and 139 deletions

View File

@ -1,7 +1,7 @@
Index: libvirt-1.3.1/examples/apparmor/libvirt-qemu
Index: libvirt-1.3.2/examples/apparmor/libvirt-qemu
===================================================================
--- libvirt-1.3.1.orig/examples/apparmor/libvirt-qemu
+++ libvirt-1.3.1/examples/apparmor/libvirt-qemu
--- libvirt-1.3.2.orig/examples/apparmor/libvirt-qemu
+++ libvirt-1.3.2/examples/apparmor/libvirt-qemu
@@ -143,6 +143,9 @@
# for restore
/bin/bash rmix,

View File

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

View File

@ -11,11 +11,11 @@ Signed-off-by: Chunyan Liu <cyliu@suse.com>
src/qemu/qemu_driver.c | 7 +++++++
1 file changed, 7 insertions(+)
Index: libvirt-1.3.1/src/qemu/qemu_driver.c
Index: libvirt-1.3.2/src/qemu/qemu_driver.c
===================================================================
--- libvirt-1.3.1.orig/src/qemu/qemu_driver.c
+++ libvirt-1.3.1/src/qemu/qemu_driver.c
@@ -16698,6 +16698,15 @@ qemuDomainBlockCopyCommon(virDomainObjPt
--- libvirt-1.3.2.orig/src/qemu/qemu_driver.c
+++ libvirt-1.3.2/src/qemu/qemu_driver.c
@@ -16595,6 +16595,15 @@ qemuDomainBlockCopyCommon(virDomainObjPt
_("non-file destination not supported yet"));
goto endjob;
}

View File

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

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlaa/ekACgkQRga4pd6VvB83RwCfSMXt/m+s8hfjxmOHDLPw91//
be4AoIjs/qtDhPxg+nqJvXjzNnCPyVdZ
=rjLr
-----END PGP SIGNATURE-----

3
libvirt-1.3.2.tar.gz Normal file
View File

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

7
libvirt-1.3.2.tar.gz.asc Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlbVDFIACgkQRga4pd6VvB/xyQCfZr3odTFUTdXUEGowUU0WnQHk
gsYAn3rarEqsgFXXnweG/sXZj+BMSi3G
=jzIM
-----END PGP SIGNATURE-----

View File

@ -1,9 +1,9 @@
Adjust libvirt-guests init files to conform to SUSE standards
Index: libvirt-1.3.1/tools/libvirt-guests.init.in
Index: libvirt-1.3.2/tools/libvirt-guests.init.in
===================================================================
--- libvirt-1.3.1.orig/tools/libvirt-guests.init.in
+++ libvirt-1.3.1/tools/libvirt-guests.init.in
--- libvirt-1.3.2.orig/tools/libvirt-guests.init.in
+++ libvirt-1.3.2/tools/libvirt-guests.init.in
@@ -4,27 +4,27 @@
# http://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html
#
@ -45,10 +45,10 @@ Index: libvirt-1.3.1/tools/libvirt-guests.init.in
#
exec @libexecdir@/libvirt-guests.sh "$@"
Index: libvirt-1.3.1/tools/libvirt-guests.sh.in
Index: libvirt-1.3.2/tools/libvirt-guests.sh.in
===================================================================
--- libvirt-1.3.1.orig/tools/libvirt-guests.sh.in
+++ libvirt-1.3.1/tools/libvirt-guests.sh.in
--- libvirt-1.3.2.orig/tools/libvirt-guests.sh.in
+++ libvirt-1.3.2/tools/libvirt-guests.sh.in
@@ -16,14 +16,13 @@
# License along with this library. If not, see
# <http://www.gnu.org/licenses/>.
@ -208,10 +208,10 @@ Index: libvirt-1.3.1/tools/libvirt-guests.sh.in
esac
-exit $RETVAL
+rc_exit
Index: libvirt-1.3.1/tools/libvirt-guests.sysconf
Index: libvirt-1.3.2/tools/libvirt-guests.sysconf
===================================================================
--- libvirt-1.3.1.orig/tools/libvirt-guests.sysconf
+++ libvirt-1.3.1/tools/libvirt-guests.sysconf
--- libvirt-1.3.2.orig/tools/libvirt-guests.sysconf
+++ libvirt-1.3.2/tools/libvirt-guests.sysconf
@@ -1,19 +1,29 @@
+## Path: System/Virtualization/libvirt-guests
+

View File

@ -1,7 +1,7 @@
Index: libvirt-1.3.1/src/cpu/cpu_map.xml
Index: libvirt-1.3.2/src/cpu/cpu_map.xml
===================================================================
--- libvirt-1.3.1.orig/src/cpu/cpu_map.xml
+++ libvirt-1.3.1/src/cpu/cpu_map.xml
--- libvirt-1.3.2.orig/src/cpu/cpu_map.xml
+++ libvirt-1.3.2/src/cpu/cpu_map.xml
@@ -1424,6 +1424,16 @@
<pvr value='0x004d0000' mask='0xffff0000'/>
</model>

View File

@ -1,7 +1,7 @@
Index: libvirt-1.3.1/configure.ac
Index: libvirt-1.3.2/configure.ac
===================================================================
--- libvirt-1.3.1.orig/configure.ac
+++ libvirt-1.3.1/configure.ac
--- libvirt-1.3.2.orig/configure.ac
+++ libvirt-1.3.2/configure.ac
@@ -246,6 +246,7 @@ LIBVIRT_CHECK_FUSE
LIBVIRT_CHECK_GLUSTER
LIBVIRT_CHECK_HAL
@ -10,7 +10,7 @@ Index: libvirt-1.3.1/configure.ac
LIBVIRT_CHECK_NUMACTL
LIBVIRT_CHECK_OPENWSMAN
LIBVIRT_CHECK_PCIACCESS
@@ -2507,11 +2508,12 @@ if test "$with_libvirtd" = "no" ; then
@@ -2449,11 +2450,12 @@ if test "$with_libvirtd" = "no" ; then
with_interface=no
fi
@ -26,7 +26,7 @@ Index: libvirt-1.3.1/configure.ac
esac
if test "$with_interface" = "yes" ; then
@@ -2890,6 +2892,7 @@ LIBVIRT_RESULT_FUSE
@@ -2832,6 +2834,7 @@ LIBVIRT_RESULT_FUSE
LIBVIRT_RESULT_GLUSTER
LIBVIRT_RESULT_HAL
LIBVIRT_RESULT_NETCF
@ -34,11 +34,11 @@ Index: libvirt-1.3.1/configure.ac
LIBVIRT_RESULT_NUMACTL
LIBVIRT_RESULT_OPENWSMAN
LIBVIRT_RESULT_PCIACCESS
Index: libvirt-1.3.1/src/Makefile.am
Index: libvirt-1.3.2/src/Makefile.am
===================================================================
--- libvirt-1.3.1.orig/src/Makefile.am
+++ libvirt-1.3.1/src/Makefile.am
@@ -923,6 +923,10 @@ if WITH_NETCF
--- libvirt-1.3.2.orig/src/Makefile.am
+++ libvirt-1.3.2/src/Makefile.am
@@ -928,6 +928,10 @@ if WITH_NETCF
INTERFACE_DRIVER_SOURCES += \
interface/interface_backend_netcf.c
endif WITH_NETCF
@ -49,7 +49,7 @@ Index: libvirt-1.3.1/src/Makefile.am
if WITH_UDEV
INTERFACE_DRIVER_SOURCES += \
interface/interface_backend_udev.c
@@ -1548,6 +1552,10 @@ if WITH_NETCF
@@ -1553,6 +1557,10 @@ if WITH_NETCF
libvirt_driver_interface_la_CFLAGS += $(NETCF_CFLAGS)
libvirt_driver_interface_la_LIBADD += $(NETCF_LIBS)
endif WITH_NETCF
@ -60,10 +60,10 @@ Index: libvirt-1.3.1/src/Makefile.am
if WITH_UDEV
libvirt_driver_interface_la_CFLAGS += $(UDEV_CFLAGS)
libvirt_driver_interface_la_LIBADD += $(UDEV_LIBS)
Index: libvirt-1.3.1/tools/virsh.c
Index: libvirt-1.3.2/tools/virsh.c
===================================================================
--- libvirt-1.3.1.orig/tools/virsh.c
+++ libvirt-1.3.1/tools/virsh.c
--- libvirt-1.3.2.orig/tools/virsh.c
+++ libvirt-1.3.2/tools/virsh.c
@@ -589,6 +589,8 @@ virshShowVersion(vshControl *ctl ATTRIBU
vshPrint(ctl, " Interface");
# if defined(WITH_NETCF)
@ -73,10 +73,10 @@ Index: libvirt-1.3.1/tools/virsh.c
# elif defined(WITH_UDEV)
vshPrint(ctl, " udev");
# endif
Index: libvirt-1.3.1/src/interface/interface_backend_netcf.c
Index: libvirt-1.3.2/src/interface/interface_backend_netcf.c
===================================================================
--- libvirt-1.3.1.orig/src/interface/interface_backend_netcf.c
+++ libvirt-1.3.1/src/interface/interface_backend_netcf.c
--- libvirt-1.3.2.orig/src/interface/interface_backend_netcf.c
+++ libvirt-1.3.2/src/interface/interface_backend_netcf.c
@@ -23,7 +23,12 @@
#include <config.h>
@ -160,10 +160,10 @@ Index: libvirt-1.3.1/src/interface/interface_backend_netcf.c
if (virSetSharedInterfaceDriver(&interfaceDriver) < 0)
return -1;
if (virRegisterStateDriver(&interfaceStateDriver) < 0)
Index: libvirt-1.3.1/src/interface/interface_driver.c
Index: libvirt-1.3.2/src/interface/interface_driver.c
===================================================================
--- libvirt-1.3.1.orig/src/interface/interface_driver.c
+++ libvirt-1.3.1/src/interface/interface_driver.c
--- libvirt-1.3.2.orig/src/interface/interface_driver.c
+++ libvirt-1.3.2/src/interface/interface_driver.c
@@ -30,8 +30,15 @@ interfaceRegister(void)
if (netcfIfaceRegister() == 0)
return 0;
@ -181,10 +181,10 @@ Index: libvirt-1.3.1/src/interface/interface_driver.c
if (udevIfaceRegister() == 0)
return 0;
#endif /* WITH_UDEV */
Index: libvirt-1.3.1/m4/virt-netcontrol.m4
Index: libvirt-1.3.2/m4/virt-netcontrol.m4
===================================================================
--- /dev/null
+++ libvirt-1.3.1/m4/virt-netcontrol.m4
+++ libvirt-1.3.2/m4/virt-netcontrol.m4
@@ -0,0 +1,35 @@
+dnl The libnetcontrol library
+dnl

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Mar 1 16:07:08 UTC 2016 - jfehlig@suse.com
- Update to libvirt 1.3.2
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
-------------------------------------------------------------------
Thu Feb 18 16:49:00 UTC 2016 - jfehlig@suse.com

View File

@ -245,7 +245,7 @@
Name: libvirt
Url: http://libvirt.org/
Version: 1.3.1
Version: 1.3.2
Release: 0
Summary: Library providing a simple virtualization API
License: LGPL-2.1+

View File

@ -1,7 +1,7 @@
Index: libvirt-1.3.1/daemon/libvirtd.conf
Index: libvirt-1.3.2/daemon/libvirtd.conf
===================================================================
--- libvirt-1.3.1.orig/daemon/libvirtd.conf
+++ libvirt-1.3.1/daemon/libvirtd.conf
--- libvirt-1.3.2.orig/daemon/libvirtd.conf
+++ libvirt-1.3.2/daemon/libvirtd.conf
@@ -18,8 +18,8 @@
# It is necessary to setup a CA and issue server certificates before
# using this capability.
@ -13,10 +13,10 @@ Index: libvirt-1.3.1/daemon/libvirtd.conf
# Listen for unencrypted TCP connections on the public TCP/IP port.
# NB, must pass the --listen flag to the libvirtd process for this to
Index: libvirt-1.3.1/daemon/libvirtd-config.c
Index: libvirt-1.3.2/daemon/libvirtd-config.c
===================================================================
--- libvirt-1.3.1.orig/daemon/libvirtd-config.c
+++ libvirt-1.3.1/daemon/libvirtd-config.c
--- libvirt-1.3.2.orig/daemon/libvirtd-config.c
+++ libvirt-1.3.2/daemon/libvirtd-config.c
@@ -242,7 +242,7 @@ daemonConfigNew(bool privileged ATTRIBUT
if (VIR_ALLOC(data) < 0)
return NULL;
@ -26,10 +26,10 @@ Index: libvirt-1.3.1/daemon/libvirtd-config.c
data->listen_tcp = 0;
if (VIR_STRDUP(data->tls_port, LIBVIRTD_TLS_PORT) < 0 ||
Index: libvirt-1.3.1/daemon/test_libvirtd.aug.in
Index: libvirt-1.3.2/daemon/test_libvirtd.aug.in
===================================================================
--- libvirt-1.3.1.orig/daemon/test_libvirtd.aug.in
+++ libvirt-1.3.1/daemon/test_libvirtd.aug.in
--- libvirt-1.3.2.orig/daemon/test_libvirtd.aug.in
+++ libvirt-1.3.2/daemon/test_libvirtd.aug.in
@@ -2,7 +2,7 @@ module Test_libvirtd =
::CONFIG::

View File

@ -1,9 +1,9 @@
Adjust libvirtd sysconfig file to conform to SUSE standards
Index: libvirt-1.3.1/daemon/libvirtd.sysconf
Index: libvirt-1.3.2/daemon/libvirtd.sysconf
===================================================================
--- libvirt-1.3.1.orig/daemon/libvirtd.sysconf
+++ libvirt-1.3.1/daemon/libvirtd.sysconf
--- libvirt-1.3.2.orig/daemon/libvirtd.sysconf
+++ libvirt-1.3.2/daemon/libvirtd.sysconf
@@ -1,16 +1,25 @@
+## Path: System/Virtualization/libvirt
+

View File

@ -9,10 +9,10 @@ as
See bsc#933043
Index: libvirt-1.3.1/daemon/libvirtd.socket.in
Index: libvirt-1.3.2/daemon/libvirtd.socket.in
===================================================================
--- libvirt-1.3.1.orig/daemon/libvirtd.socket.in
+++ libvirt-1.3.1/daemon/libvirtd.socket.in
--- libvirt-1.3.2.orig/daemon/libvirtd.socket.in
+++ libvirt-1.3.2/daemon/libvirtd.socket.in
@@ -2,10 +2,8 @@
ListenStream=@runstatedir@/libvirt/libvirt-sock
ListenStream=@runstatedir@/libvirt/libvirt-sock-ro

View File

@ -7,11 +7,11 @@ and npiv.
For more details, see bsc#954872 and FATE#319810
Index: libvirt-1.3.1/src/libxl/libxl_conf.c
Index: libvirt-1.3.2/src/libxl/libxl_conf.c
===================================================================
--- libvirt-1.3.1.orig/src/libxl/libxl_conf.c
+++ libvirt-1.3.1/src/libxl/libxl_conf.c
@@ -887,6 +887,22 @@ libxlDiskSetDiscard(libxl_device_disk *x
--- libvirt-1.3.2.orig/src/libxl/libxl_conf.c
+++ libvirt-1.3.2/src/libxl/libxl_conf.c
@@ -891,6 +891,22 @@ libxlDiskSetDiscard(libxl_device_disk *x
}
@ -34,22 +34,24 @@ Index: libvirt-1.3.1/src/libxl/libxl_conf.c
#define LIBXL_QEMU_DM_STR "Options specific to the Xen version:"
int
@@ -921,12 +937,13 @@ libxlDomainGetEmulatorType(const virDoma
@@ -1108,6 +1124,7 @@ libxlMakeNetworkDiskSrc(virStorageSource
int
libxlMakeDisk(virDomainDiskDefPtr l_disk, libxl_device_disk *x_disk)
{
+ const char *src = virDomainDiskGetSource(l_disk);
const char *driver;
int format;
libxl_device_disk_init(x_disk);
int actual_type = virStorageSourceGetActualType(l_disk->src);
@@ -1118,7 +1135,7 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk
if (libxlMakeNetworkDiskSrc(l_disk->src, &x_disk->pdev_path) < 0)
return -1;
} else {
- if (VIR_STRDUP(x_disk->pdev_path, virDomainDiskGetSource(l_disk)) < 0)
+ if (VIR_STRDUP(x_disk->pdev_path, src) < 0)
return -1;
}
if (VIR_STRDUP(x_disk->vdev, l_disk->dst) < 0)
@@ -1034,6 +1051,9 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk
@@ -1227,6 +1244,9 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk
x_disk->is_cdrom = l_disk->device == VIR_DOMAIN_DISK_DEVICE_CDROM ? 1 : 0;
if (libxlDiskSetDiscard(x_disk, l_disk->discard) < 0)
return -1;

View File

@ -13,10 +13,10 @@ device with the same name that is being created.
src/lxc/lxc_process.c | 1 +
3 files changed, 4 insertions(+)
Index: libvirt-1.3.1/src/lxc/lxc_controller.c
Index: libvirt-1.3.2/src/lxc/lxc_controller.c
===================================================================
--- libvirt-1.3.1.orig/src/lxc/lxc_controller.c
+++ libvirt-1.3.1/src/lxc/lxc_controller.c
--- libvirt-1.3.2.orig/src/lxc/lxc_controller.c
+++ libvirt-1.3.2/src/lxc/lxc_controller.c
@@ -2002,6 +2002,7 @@ static int virLXCControllerDeleteInterfa
if (virNetDevVethDelete(ctrl->veths[i]) < 0)
ret = -1;
@ -25,11 +25,11 @@ Index: libvirt-1.3.1/src/lxc/lxc_controller.c
return ret;
}
Index: libvirt-1.3.1/src/lxc/lxc_driver.c
Index: libvirt-1.3.2/src/lxc/lxc_driver.c
===================================================================
--- libvirt-1.3.1.orig/src/lxc/lxc_driver.c
+++ libvirt-1.3.1/src/lxc/lxc_driver.c
@@ -4257,6 +4257,7 @@ lxcDomainAttachDeviceNetLive(virConnectP
--- libvirt-1.3.2.orig/src/lxc/lxc_driver.c
+++ libvirt-1.3.2/src/lxc/lxc_driver.c
@@ -4261,6 +4261,7 @@ lxcDomainAttachDeviceNetLive(virConnectP
case VIR_DOMAIN_NET_TYPE_BRIDGE:
case VIR_DOMAIN_NET_TYPE_NETWORK:
ignore_value(virNetDevVethDelete(veth));
@ -37,7 +37,7 @@ Index: libvirt-1.3.1/src/lxc/lxc_driver.c
break;
case VIR_DOMAIN_NET_TYPE_DIRECT:
@@ -4684,6 +4685,7 @@ lxcDomainDetachDeviceNetLive(virDomainOb
@@ -4689,6 +4690,7 @@ lxcDomainDetachDeviceNetLive(virDomainOb
virDomainAuditNet(vm, detach, NULL, "detach", false);
goto cleanup;
}
@ -45,10 +45,10 @@ Index: libvirt-1.3.1/src/lxc/lxc_driver.c
break;
/* It'd be nice to support this, but with macvlan
Index: libvirt-1.3.1/src/lxc/lxc_process.c
Index: libvirt-1.3.2/src/lxc/lxc_process.c
===================================================================
--- libvirt-1.3.1.orig/src/lxc/lxc_process.c
+++ libvirt-1.3.1/src/lxc/lxc_process.c
--- libvirt-1.3.2.orig/src/lxc/lxc_process.c
+++ libvirt-1.3.2/src/lxc/lxc_process.c
@@ -221,6 +221,7 @@ static void virLXCProcessCleanup(virLXCD
}
networkReleaseActualDevice(vm->def, iface);

View File

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

View File

@ -1,7 +1,7 @@
Index: libvirt-1.3.1/examples/apparmor/libvirt-qemu
Index: libvirt-1.3.2/examples/apparmor/libvirt-qemu
===================================================================
--- libvirt-1.3.1.orig/examples/apparmor/libvirt-qemu
+++ libvirt-1.3.1/examples/apparmor/libvirt-qemu
--- libvirt-1.3.2.orig/examples/apparmor/libvirt-qemu
+++ libvirt-1.3.2/examples/apparmor/libvirt-qemu
@@ -152,6 +152,9 @@
/sys/bus/ r,
/sys/class/ r,

View File

@ -8,11 +8,11 @@ Subject: [PATCH] support managed pci devices in xen driver
src/xenxs/xen_xm.c | 28 +++++++++++++++++++++++++++-
2 files changed, 35 insertions(+), 15 deletions(-)
Index: libvirt-1.3.1/src/xenconfig/xen_common.c
Index: libvirt-1.3.2/src/xenconfig/xen_common.c
===================================================================
--- libvirt-1.3.1.orig/src/xenconfig/xen_common.c
+++ libvirt-1.3.1/src/xenconfig/xen_common.c
@@ -393,6 +393,8 @@ xenParsePCI(virConfPtr conf, virDomainDe
--- libvirt-1.3.2.orig/src/xenconfig/xen_common.c
+++ libvirt-1.3.2/src/xenconfig/xen_common.c
@@ -394,6 +394,8 @@ xenParsePCI(virConfPtr conf, virDomainDe
{
virConfValuePtr list = virConfGetValue(conf, "pci");
virDomainHostdevDefPtr hostdev = NULL;
@ -21,7 +21,7 @@ Index: libvirt-1.3.1/src/xenconfig/xen_common.c
if (list && list->type == VIR_CONF_LIST) {
list = list->list;
@@ -414,6 +416,11 @@ xenParsePCI(virConfPtr conf, virDomainDe
@@ -415,6 +417,11 @@ xenParsePCI(virConfPtr conf, virDomainDe
/* pci=['0000:00:1b.0','0000:00:13.0'] */
if (!(key = list->str))
goto skippci;
@ -33,7 +33,7 @@ Index: libvirt-1.3.1/src/xenconfig/xen_common.c
if (!(nextkey = strchr(key, ':')))
goto skippci;
if (virStrncpy(domain, key, (nextkey - key), sizeof(domain)) == NULL) {
@@ -457,10 +464,31 @@ xenParsePCI(virConfPtr conf, virDomainDe
@@ -458,10 +465,31 @@ xenParsePCI(virConfPtr conf, virDomainDe
goto skippci;
if (virStrToLong_i(func, NULL, 16, &funcID) < 0)
goto skippci;
@ -66,11 +66,11 @@ Index: libvirt-1.3.1/src/xenconfig/xen_common.c
hostdev->source.subsys.type = VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI;
hostdev->source.subsys.u.pci.addr.domain = domainID;
hostdev->source.subsys.u.pci.addr.bus = busID;
Index: libvirt-1.3.1/src/xenconfig/xen_sxpr.c
Index: libvirt-1.3.2/src/xenconfig/xen_sxpr.c
===================================================================
--- libvirt-1.3.1.orig/src/xenconfig/xen_sxpr.c
+++ libvirt-1.3.1/src/xenconfig/xen_sxpr.c
@@ -1060,6 +1060,7 @@ xenParseSxprPCI(virDomainDefPtr def,
--- libvirt-1.3.2.orig/src/xenconfig/xen_sxpr.c
+++ libvirt-1.3.2/src/xenconfig/xen_sxpr.c
@@ -1062,6 +1062,7 @@ xenParseSxprPCI(virDomainDefPtr def,
int busID;
int slotID;
int funcID;
@ -78,7 +78,7 @@ Index: libvirt-1.3.1/src/xenconfig/xen_sxpr.c
node = cur->u.s.car;
if (!sexpr_lookup(node, "dev"))
@@ -1107,11 +1108,13 @@ xenParseSxprPCI(virDomainDefPtr def,
@@ -1109,11 +1110,13 @@ xenParseSxprPCI(virDomainDefPtr def,
goto error;
}
@ -93,7 +93,7 @@ Index: libvirt-1.3.1/src/xenconfig/xen_sxpr.c
dev->source.subsys.type = VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI;
dev->source.subsys.u.pci.addr.domain = domainID;
dev->source.subsys.u.pci.addr.bus = busID;
@@ -1976,11 +1979,15 @@ static void
@@ -1978,11 +1981,15 @@ static void
xenFormatSxprPCI(virDomainHostdevDefPtr def,
virBufferPtr buf)
{
@ -110,7 +110,7 @@ Index: libvirt-1.3.1/src/xenconfig/xen_sxpr.c
}
@@ -1999,12 +2006,6 @@ xenFormatSxprOnePCI(virDomainHostdevDefP
@@ -2001,12 +2008,6 @@ xenFormatSxprOnePCI(virDomainHostdevDefP
virBufferPtr buf,
int detach)
{
@ -123,7 +123,7 @@ Index: libvirt-1.3.1/src/xenconfig/xen_sxpr.c
virBufferAddLit(buf, "(pci ");
xenFormatSxprPCI(def, buf);
if (detach)
@@ -2059,12 +2060,6 @@ xenFormatSxprAllPCI(virDomainDefPtr def,
@@ -2061,12 +2062,6 @@ xenFormatSxprAllPCI(virDomainDefPtr def,
for (i = 0; i < def->nhostdevs; i++) {
if (def->hostdevs[i]->mode == VIR_DOMAIN_HOSTDEV_MODE_SUBSYS &&
def->hostdevs[i]->source.subsys.type == VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI) {

View File

@ -1,7 +1,7 @@
Index: libvirt-1.3.1/src/qemu/qemu.conf
Index: libvirt-1.3.2/src/qemu/qemu.conf
===================================================================
--- libvirt-1.3.1.orig/src/qemu/qemu.conf
+++ libvirt-1.3.1/src/qemu/qemu.conf
--- libvirt-1.3.2.orig/src/qemu/qemu.conf
+++ libvirt-1.3.2/src/qemu/qemu.conf
@@ -201,11 +201,20 @@
# isolation, but it cannot appear in a list of drivers.
#

View File

@ -1,7 +1,7 @@
Index: libvirt-1.3.1/daemon/libvirtd.service.in
Index: libvirt-1.3.2/daemon/libvirtd.service.in
===================================================================
--- libvirt-1.3.1.orig/daemon/libvirtd.service.in
+++ libvirt-1.3.1/daemon/libvirtd.service.in
--- libvirt-1.3.2.orig/daemon/libvirtd.service.in
+++ libvirt-1.3.2/daemon/libvirtd.service.in
@@ -7,6 +7,7 @@ After=iscsid.service
After=apparmor.service
After=local-fs.target

View File

@ -1,9 +1,9 @@
Adjust virtlockd init files to conform to SUSE standards
Index: libvirt-1.3.1/src/locking/virtlockd.sysconf
Index: libvirt-1.3.2/src/locking/virtlockd.sysconf
===================================================================
--- libvirt-1.3.1.orig/src/locking/virtlockd.sysconf
+++ libvirt-1.3.1/src/locking/virtlockd.sysconf
--- libvirt-1.3.2.orig/src/locking/virtlockd.sysconf
+++ libvirt-1.3.2/src/locking/virtlockd.sysconf
@@ -1,3 +1,7 @@
+## Path: System/Virtualization/virtlockd
+
@ -12,10 +12,10 @@ Index: libvirt-1.3.1/src/locking/virtlockd.sysconf
#
# Pass extra arguments to virtlockd
#VIRTLOCKD_ARGS=
Index: libvirt-1.3.1/src/locking/virtlockd.init.in
Index: libvirt-1.3.2/src/locking/virtlockd.init.in
===================================================================
--- libvirt-1.3.1.orig/src/locking/virtlockd.init.in
+++ libvirt-1.3.1/src/locking/virtlockd.init.in
--- libvirt-1.3.2.orig/src/locking/virtlockd.init.in
+++ libvirt-1.3.2/src/locking/virtlockd.init.in
@@ -4,59 +4,57 @@
# http://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html
#

View File

@ -1,9 +1,9 @@
Adjust virtlogd init files to conform to SUSE standards
Index: libvirt-1.3.1/src/logging/virtlogd.init.in
Index: libvirt-1.3.2/src/logging/virtlogd.init.in
===================================================================
--- libvirt-1.3.1.orig/src/logging/virtlogd.init.in
+++ libvirt-1.3.1/src/logging/virtlogd.init.in
--- libvirt-1.3.2.orig/src/logging/virtlogd.init.in
+++ libvirt-1.3.2/src/logging/virtlogd.init.in
@@ -4,59 +4,56 @@
# http://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html
#
@ -126,10 +126,10 @@ Index: libvirt-1.3.1/src/logging/virtlogd.init.in
esac
-exit $RETVAL
+rc_exit
Index: libvirt-1.3.1/src/logging/virtlogd.sysconf
Index: libvirt-1.3.2/src/logging/virtlogd.sysconf
===================================================================
--- libvirt-1.3.1.orig/src/logging/virtlogd.sysconf
+++ libvirt-1.3.1/src/logging/virtlogd.sysconf
--- libvirt-1.3.2.orig/src/logging/virtlogd.sysconf
+++ libvirt-1.3.2/src/logging/virtlogd.sysconf
@@ -1,3 +1,7 @@
+## Path: System/Virtualization/virtlogd
+

View File

@ -1,8 +1,8 @@
Index: libvirt-1.3.1/src/xenconfig/xen_sxpr.c
Index: libvirt-1.3.2/src/xenconfig/xen_sxpr.c
===================================================================
--- libvirt-1.3.1.orig/src/xenconfig/xen_sxpr.c
+++ libvirt-1.3.1/src/xenconfig/xen_sxpr.c
@@ -390,7 +390,7 @@ xenParseSxprVifRate(const char *rate, un
--- libvirt-1.3.2.orig/src/xenconfig/xen_sxpr.c
+++ libvirt-1.3.2/src/xenconfig/xen_sxpr.c
@@ -392,7 +392,7 @@ xenParseSxprVifRate(const char *rate, un
static int
xenParseSxprDisks(virDomainDefPtr def,
const struct sexpr *root,
@ -11,7 +11,7 @@ Index: libvirt-1.3.1/src/xenconfig/xen_sxpr.c
{
const struct sexpr *cur, *node;
virDomainDiskDefPtr disk = NULL;
@@ -440,7 +440,6 @@ xenParseSxprDisks(virDomainDefPtr def,
@@ -442,7 +442,6 @@ xenParseSxprDisks(virDomainDefPtr def,
/* There is a case without the uname to the CD-ROM device */
offset = strchr(dst, ':');
if (!offset ||

View File

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