Accepting request 288564 from home:jfehlig:branches:Virtualization

- Update to libvirt 1.2.13
  - qemu: improved support for host and guest NUMA
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html

OBS-URL: https://build.opensuse.org/request/show/288564
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=439
This commit is contained in:
James Fehlig 2015-03-02 20:13:45 +00:00 committed by Git OBS Bridge
parent 919b8be388
commit b625df8512
23 changed files with 142 additions and 122 deletions

View File

@ -1,7 +1,7 @@
Index: libvirt-1.2.12/examples/apparmor/libvirt-lxc Index: libvirt-1.2.13/examples/apparmor/libvirt-lxc
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/examples/apparmor/libvirt-lxc --- libvirt-1.2.13.orig/examples/apparmor/libvirt-lxc
+++ libvirt-1.2.12/examples/apparmor/libvirt-lxc +++ libvirt-1.2.13/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-1.2.12/src/qemu/qemu_driver.c Index: libvirt-1.2.13/src/qemu/qemu_driver.c
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/src/qemu/qemu_driver.c --- libvirt-1.2.13.orig/src/qemu/qemu_driver.c
+++ libvirt-1.2.12/src/qemu/qemu_driver.c +++ libvirt-1.2.13/src/qemu/qemu_driver.c
@@ -15954,6 +15954,15 @@ qemuDomainBlockCopyCommon(virDomainObjPt @@ -16129,6 +16129,15 @@ qemuDomainBlockCopyCommon(virDomainObjPt
virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s", virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s",
_("non-file destination not supported yet")); _("non-file destination not supported yet"));
} }

View File

@ -1,7 +1,7 @@
Index: libvirt-1.2.12/tests/vircgrouptest.c Index: libvirt-1.2.13/tests/vircgrouptest.c
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/tests/vircgrouptest.c --- libvirt-1.2.13.orig/tests/vircgrouptest.c
+++ libvirt-1.2.12/tests/vircgrouptest.c +++ libvirt-1.2.13/tests/vircgrouptest.c
@@ -33,7 +33,6 @@ @@ -33,7 +33,6 @@
# include "virlog.h" # include "virlog.h"
# include "virfile.h" # include "virfile.h"

View File

@ -8,10 +8,10 @@ uses the 'device_configure' RPC.
This patch changes the xend driver to always call 'device_configure' for This patch changes the xend driver to always call 'device_configure' for
PCI devices to be consistent with the usage in the xen tools. PCI devices to be consistent with the usage in the xen tools.
Index: libvirt-1.2.12/src/xen/xend_internal.c Index: libvirt-1.2.13/src/xen/xend_internal.c
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/src/xen/xend_internal.c --- libvirt-1.2.13.orig/src/xen/xend_internal.c
+++ libvirt-1.2.12/src/xen/xend_internal.c +++ libvirt-1.2.13/src/xen/xend_internal.c
@@ -2216,6 +2216,7 @@ xenDaemonAttachDeviceFlags(virConnectPtr @@ -2216,6 +2216,7 @@ xenDaemonAttachDeviceFlags(virConnectPtr
virBuffer buf = VIR_BUFFER_INITIALIZER; virBuffer buf = VIR_BUFFER_INITIALIZER;
char class[8], ref[80]; char class[8], ref[80];

View File

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

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlTHRKkACgkQRga4pd6VvB9v3ACdFFlw9zp0ewEPOBt2e7cTDAL6
f7wAoJQBTFtnMKpgTMazQBUGBD9a02lb
=urda
-----END PGP SIGNATURE-----

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

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

View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlTz2rcACgkQRga4pd6VvB85+gCeLPbCKrp12D69dbcjucQ9JtOw
BfQAoI6GJ5ZSsudyTcIB76rt0haEA6Au
=KAmO
-----END PGP SIGNATURE-----

View File

@ -1,9 +1,9 @@
Adjust libvirt-guests init files to conform to SUSE standards Adjust libvirt-guests init files to conform to SUSE standards
Index: libvirt-1.2.12/tools/libvirt-guests.init.in Index: libvirt-1.2.13/tools/libvirt-guests.init.in
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/tools/libvirt-guests.init.in --- libvirt-1.2.13.orig/tools/libvirt-guests.init.in
+++ libvirt-1.2.12/tools/libvirt-guests.init.in +++ libvirt-1.2.13/tools/libvirt-guests.init.in
@@ -3,15 +3,15 @@ @@ -3,15 +3,15 @@
# the following is the LSB init header # the following is the LSB init header
# #
@ -28,10 +28,10 @@ Index: libvirt-1.2.12/tools/libvirt-guests.init.in
### END INIT INFO ### END INIT INFO
# the following is chkconfig init header # the following is chkconfig init header
Index: libvirt-1.2.12/tools/libvirt-guests.sh.in Index: libvirt-1.2.13/tools/libvirt-guests.sh.in
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/tools/libvirt-guests.sh.in --- libvirt-1.2.13.orig/tools/libvirt-guests.sh.in
+++ libvirt-1.2.12/tools/libvirt-guests.sh.in +++ libvirt-1.2.13/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/>.
@ -119,7 +119,7 @@ Index: libvirt-1.2.12/tools/libvirt-guests.sh.in
return 1 return 1
fi fi
@@ -190,6 +211,13 @@ start() { @@ -192,6 +213,13 @@ start() {
test_connect "$uri" || continue test_connect "$uri" || continue
@ -133,7 +133,7 @@ Index: libvirt-1.2.12/tools/libvirt-guests.sh.in
eval_gettext "Resuming guests on \$uri URI..."; echo eval_gettext "Resuming guests on \$uri URI..."; echo
for guest in $list; do for guest in $list; do
name=$(guest_name "$uri" "$guest") name=$(guest_name "$uri" "$guest")
@@ -403,7 +431,7 @@ shutdown_guests_parallel() @@ -408,7 +436,7 @@ shutdown_guests_parallel()
timeout=$(($timeout - 1)) timeout=$(($timeout - 1))
if [ $timeout -le 0 ]; then if [ $timeout -le 0 ]; then
eval_gettext "Timeout expired while shutting down domains"; echo eval_gettext "Timeout expired while shutting down domains"; echo
@ -142,7 +142,7 @@ Index: libvirt-1.2.12/tools/libvirt-guests.sh.in
return return
fi fi
else else
@@ -431,7 +459,7 @@ stop() { @@ -436,7 +464,7 @@ stop() {
if [ $SHUTDOWN_TIMEOUT -lt 0 ]; then if [ $SHUTDOWN_TIMEOUT -lt 0 ]; then
gettext "SHUTDOWN_TIMEOUT must be equal or greater than 0" gettext "SHUTDOWN_TIMEOUT must be equal or greater than 0"
echo echo
@ -151,7 +151,7 @@ Index: libvirt-1.2.12/tools/libvirt-guests.sh.in
return return
fi fi
fi fi
@@ -479,14 +507,14 @@ stop() { @@ -484,14 +512,14 @@ stop() {
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
eval_gettext "Failed to list persistent guests on \$uri" eval_gettext "Failed to list persistent guests on \$uri"
echo echo
@ -168,7 +168,7 @@ Index: libvirt-1.2.12/tools/libvirt-guests.sh.in
set +f set +f
return return
fi fi
@@ -545,14 +573,13 @@ gueststatus() { @@ -550,14 +578,13 @@ gueststatus() {
rh_status() { rh_status() {
if [ -f "$LISTFILE" ]; then if [ -f "$LISTFILE" ]; then
gettext "stopped, with saved guests"; echo gettext "stopped, with saved guests"; echo
@ -185,16 +185,16 @@ Index: libvirt-1.2.12/tools/libvirt-guests.sh.in
fi fi
fi fi
} }
@@ -597,4 +624,4 @@ case "$1" in @@ -602,4 +629,4 @@ case "$1" in
usage usage
;; ;;
esac esac
-exit $RETVAL -exit $RETVAL
+rc_exit +rc_exit
Index: libvirt-1.2.12/tools/libvirt-guests.sysconf Index: libvirt-1.2.13/tools/libvirt-guests.sysconf
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/tools/libvirt-guests.sysconf --- libvirt-1.2.13.orig/tools/libvirt-guests.sysconf
+++ libvirt-1.2.12/tools/libvirt-guests.sysconf +++ libvirt-1.2.13/tools/libvirt-guests.sysconf
@@ -1,19 +1,29 @@ @@ -1,19 +1,29 @@
+## Path: System/Virtualization/libvirt-guests +## Path: System/Virtualization/libvirt-guests
+ +
@ -247,7 +247,7 @@ Index: libvirt-1.2.12/tools/libvirt-guests.sysconf
# Number of seconds we're willing to wait for a guest to shut down. If parallel # Number of seconds we're willing to wait for a guest to shut down. If parallel
# shutdown is enabled, this timeout applies as a timeout for shutting down all # shutdown is enabled, this timeout applies as a timeout for shutting down all
# guests on a single URI defined in the variable URIS. If this is 0, then there # guests on a single URI defined in the variable URIS. If this is 0, then there
@@ -35,7 +49,9 @@ @@ -35,14 +49,18 @@
# request). The default value is 300 seconds (5 minutes). # request). The default value is 300 seconds (5 minutes).
#SHUTDOWN_TIMEOUT=300 #SHUTDOWN_TIMEOUT=300
@ -258,3 +258,13 @@ Index: libvirt-1.2.12/tools/libvirt-guests.sysconf
# some file systems. # some file systems.
-#BYPASS_CACHE=0 -#BYPASS_CACHE=0
+BYPASS_CACHE=0 +BYPASS_CACHE=0
+## Type: integer
+## Default: 0
# If non-zero, try to sync guest time on domain resume. Be aware, that
# this requires guest agent with support for time synchronization
# running in the guest. For instance, qemu-ga doesn't support guest time
# synchronization on Windows guests, but Linux ones. By default, this
# functionality is turned off.
-#SYNC_TIME=1
+SYNC_TIME=0

View File

@ -1,8 +1,8 @@
Index: libvirt-1.2.12/src/cpu/cpu_map.xml Index: libvirt-1.2.13/src/cpu/cpu_map.xml
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/src/cpu/cpu_map.xml --- libvirt-1.2.13.orig/src/cpu/cpu_map.xml
+++ libvirt-1.2.12/src/cpu/cpu_map.xml +++ libvirt-1.2.13/src/cpu/cpu_map.xml
@@ -657,5 +657,15 @@ @@ -658,6 +658,16 @@
<pvr value='0x004d0000'/> <pvr value='0x004d0000'/>
</model> </model>
@ -16,5 +16,6 @@ Index: libvirt-1.2.12/src/cpu/cpu_map.xml
+ <pvr value='0x004b0201'/> + <pvr value='0x004b0201'/>
+ </model> + </model>
+ +
</arch> <!-- Freescale-based CPU models -->
</cpus> <model name='POWERPC_e5500'>
<vendor name='Freescale'/>

View File

@ -1,7 +1,7 @@
Index: libvirt-1.2.12/configure.ac Index: libvirt-1.2.13/configure.ac
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/configure.ac --- libvirt-1.2.13.orig/configure.ac
+++ libvirt-1.2.12/configure.ac +++ libvirt-1.2.13/configure.ac
@@ -237,6 +237,7 @@ LIBVIRT_CHECK_FUSE @@ -237,6 +237,7 @@ LIBVIRT_CHECK_FUSE
LIBVIRT_CHECK_GLUSTER LIBVIRT_CHECK_GLUSTER
LIBVIRT_CHECK_HAL LIBVIRT_CHECK_HAL
@ -10,7 +10,7 @@ Index: libvirt-1.2.12/configure.ac
LIBVIRT_CHECK_NUMACTL LIBVIRT_CHECK_NUMACTL
LIBVIRT_CHECK_OPENWSMAN LIBVIRT_CHECK_OPENWSMAN
LIBVIRT_CHECK_PCIACCESS LIBVIRT_CHECK_PCIACCESS
@@ -2459,11 +2460,12 @@ if test "$with_libvirtd" = "no" ; then @@ -2466,11 +2467,12 @@ if test "$with_libvirtd" = "no" ; then
with_interface=no with_interface=no
fi fi
@ -26,7 +26,7 @@ Index: libvirt-1.2.12/configure.ac
esac esac
if test "$with_interface" = "yes" ; then if test "$with_interface" = "yes" ; then
@@ -2898,6 +2900,7 @@ LIBVIRT_RESULT_FUSE @@ -2922,6 +2924,7 @@ LIBVIRT_RESULT_FUSE
LIBVIRT_RESULT_GLUSTER LIBVIRT_RESULT_GLUSTER
LIBVIRT_RESULT_HAL LIBVIRT_RESULT_HAL
LIBVIRT_RESULT_NETCF LIBVIRT_RESULT_NETCF
@ -34,11 +34,11 @@ Index: libvirt-1.2.12/configure.ac
LIBVIRT_RESULT_NUMACTL LIBVIRT_RESULT_NUMACTL
LIBVIRT_RESULT_OPENWSMAN LIBVIRT_RESULT_OPENWSMAN
LIBVIRT_RESULT_PCIACCESS LIBVIRT_RESULT_PCIACCESS
Index: libvirt-1.2.12/src/Makefile.am Index: libvirt-1.2.13/src/Makefile.am
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/src/Makefile.am --- libvirt-1.2.13.orig/src/Makefile.am
+++ libvirt-1.2.12/src/Makefile.am +++ libvirt-1.2.13/src/Makefile.am
@@ -860,6 +860,10 @@ if WITH_NETCF @@ -845,6 +845,10 @@ if WITH_NETCF
INTERFACE_DRIVER_SOURCES += \ INTERFACE_DRIVER_SOURCES += \
interface/interface_backend_netcf.c interface/interface_backend_netcf.c
endif WITH_NETCF endif WITH_NETCF
@ -49,7 +49,7 @@ Index: libvirt-1.2.12/src/Makefile.am
if WITH_UDEV if WITH_UDEV
INTERFACE_DRIVER_SOURCES += \ INTERFACE_DRIVER_SOURCES += \
interface/interface_backend_udev.c interface/interface_backend_udev.c
@@ -1508,10 +1512,15 @@ if WITH_NETCF @@ -1457,10 +1461,15 @@ if WITH_NETCF
libvirt_driver_interface_la_CFLAGS += $(NETCF_CFLAGS) libvirt_driver_interface_la_CFLAGS += $(NETCF_CFLAGS)
libvirt_driver_interface_la_LIBADD += $(NETCF_LIBS) libvirt_driver_interface_la_LIBADD += $(NETCF_LIBS)
else ! WITH_NETCF else ! WITH_NETCF
@ -65,11 +65,11 @@ Index: libvirt-1.2.12/src/Makefile.am
endif ! WITH_NETCF endif ! WITH_NETCF
if WITH_DRIVER_MODULES if WITH_DRIVER_MODULES
libvirt_driver_interface_la_LIBADD += ../gnulib/lib/libgnu.la libvirt_driver_interface_la_LIBADD += ../gnulib/lib/libgnu.la
Index: libvirt-1.2.12/tools/virsh.c Index: libvirt-1.2.13/tools/virsh.c
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/tools/virsh.c --- libvirt-1.2.13.orig/tools/virsh.c
+++ libvirt-1.2.12/tools/virsh.c +++ libvirt-1.2.13/tools/virsh.c
@@ -3348,6 +3348,8 @@ vshShowVersion(vshControl *ctl ATTRIBUTE @@ -3360,6 +3360,8 @@ vshShowVersion(vshControl *ctl ATTRIBUTE
vshPrint(ctl, " Interface"); vshPrint(ctl, " Interface");
# if defined(WITH_NETCF) # if defined(WITH_NETCF)
vshPrint(ctl, " netcf"); vshPrint(ctl, " netcf");
@ -78,10 +78,10 @@ Index: libvirt-1.2.12/tools/virsh.c
# elif defined(WITH_UDEV) # elif defined(WITH_UDEV)
vshPrint(ctl, " udev"); vshPrint(ctl, " udev");
# endif # endif
Index: libvirt-1.2.12/src/interface/interface_backend_netcf.c Index: libvirt-1.2.13/src/interface/interface_backend_netcf.c
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/src/interface/interface_backend_netcf.c --- libvirt-1.2.13.orig/src/interface/interface_backend_netcf.c
+++ libvirt-1.2.12/src/interface/interface_backend_netcf.c +++ libvirt-1.2.13/src/interface/interface_backend_netcf.c
@@ -23,7 +23,12 @@ @@ -23,7 +23,12 @@
#include <config.h> #include <config.h>
@ -165,10 +165,10 @@ Index: libvirt-1.2.12/src/interface/interface_backend_netcf.c
return 0; return 0;
} }
Index: libvirt-1.2.12/src/interface/interface_driver.c Index: libvirt-1.2.13/src/interface/interface_driver.c
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/src/interface/interface_driver.c --- libvirt-1.2.13.orig/src/interface/interface_driver.c
+++ libvirt-1.2.12/src/interface/interface_driver.c +++ libvirt-1.2.13/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;
@ -186,10 +186,10 @@ Index: libvirt-1.2.12/src/interface/interface_driver.c
if (udevIfaceRegister() == 0) if (udevIfaceRegister() == 0)
return 0; return 0;
#endif /* WITH_UDEV */ #endif /* WITH_UDEV */
Index: libvirt-1.2.12/m4/virt-netcontrol.m4 Index: libvirt-1.2.13/m4/virt-netcontrol.m4
=================================================================== ===================================================================
--- /dev/null --- /dev/null
+++ libvirt-1.2.12/m4/virt-netcontrol.m4 +++ libvirt-1.2.13/m4/virt-netcontrol.m4
@@ -0,0 +1,35 @@ @@ -0,0 +1,35 @@
+dnl The libnetcontrol library +dnl The libnetcontrol library
+dnl +dnl

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Mar 2 12:05:43 MST 2015 - jfehlig@suse.com
- Update to libvirt 1.2.13
- qemu: improved support for host and guest NUMA
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 27 15:45:56 MST 2015 - jfehlig@suse.com Tue Jan 27 15:45:56 MST 2015 - jfehlig@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libvirt # spec file for package libvirt
# #
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -235,7 +235,7 @@
Name: libvirt Name: libvirt
Url: http://libvirt.org/ Url: http://libvirt.org/
Version: 1.2.12 Version: 1.2.13
Release: 0 Release: 0
Summary: Library providing a simple virtualization API Summary: Library providing a simple virtualization API
License: LGPL-2.1+ License: LGPL-2.1+
@ -956,6 +956,7 @@ namespaces.
# Older version contain too old wireshark # Older version contain too old wireshark
%if 0%{?suse_version} >= 1210 %if 0%{?suse_version} >= 1210
%package -n wireshark-plugin-libvirt %package -n wireshark-plugin-libvirt
Summary: Wireshark plugin for Libvirt RPC protocol Summary: Wireshark plugin for Libvirt RPC protocol
Group: Productivity/Networking/Diagnostic Group: Productivity/Networking/Diagnostic
@ -1714,8 +1715,6 @@ fi
%files daemon-driver-vbox %files daemon-driver-vbox
%defattr(-, root, root) %defattr(-, root, root)
%{_libdir}/%{name}/connection-driver/libvirt_driver_vbox.so %{_libdir}/%{name}/connection-driver/libvirt_driver_vbox.so
%{_libdir}/%{name}/connection-driver/libvirt_driver_vbox_network.so
%{_libdir}/%{name}/connection-driver/libvirt_driver_vbox_storage.so
%endif %endif
%endif # with_driver_modules %endif # with_driver_modules
@ -1867,6 +1866,7 @@ fi
%endif %endif
%if 0%{?suse_version} >= 1210 %if 0%{?suse_version} >= 1210
%files -n wireshark-plugin-libvirt %files -n wireshark-plugin-libvirt
%defattr(-, root, root) %defattr(-, root, root)
%{_libdir}/wireshark/plugins/*/libvirt.so %{_libdir}/wireshark/plugins/*/libvirt.so

View File

@ -1,7 +1,7 @@
Index: libvirt-1.2.12/daemon/libvirtd.conf Index: libvirt-1.2.13/daemon/libvirtd.conf
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/daemon/libvirtd.conf --- libvirt-1.2.13.orig/daemon/libvirtd.conf
+++ libvirt-1.2.12/daemon/libvirtd.conf +++ libvirt-1.2.13/daemon/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.
@ -13,10 +13,10 @@ Index: libvirt-1.2.12/daemon/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-1.2.12/daemon/libvirtd-config.c Index: libvirt-1.2.13/daemon/libvirtd-config.c
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/daemon/libvirtd-config.c --- libvirt-1.2.13.orig/daemon/libvirtd-config.c
+++ libvirt-1.2.12/daemon/libvirtd-config.c +++ libvirt-1.2.13/daemon/libvirtd-config.c
@@ -242,7 +242,7 @@ daemonConfigNew(bool privileged ATTRIBUT @@ -242,7 +242,7 @@ daemonConfigNew(bool privileged ATTRIBUT
if (VIR_ALLOC(data) < 0) if (VIR_ALLOC(data) < 0)
return NULL; return NULL;
@ -26,10 +26,10 @@ Index: libvirt-1.2.12/daemon/libvirtd-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-1.2.12/daemon/test_libvirtd.aug.in Index: libvirt-1.2.13/daemon/test_libvirtd.aug.in
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/daemon/test_libvirtd.aug.in --- libvirt-1.2.13.orig/daemon/test_libvirtd.aug.in
+++ libvirt-1.2.12/daemon/test_libvirtd.aug.in +++ libvirt-1.2.13/daemon/test_libvirtd.aug.in
@@ -2,7 +2,7 @@ module Test_libvirtd = @@ -2,7 +2,7 @@ module Test_libvirtd =
::CONFIG:: ::CONFIG::

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-1.2.12/daemon/libvirtd.sysconf Index: libvirt-1.2.13/daemon/libvirtd.sysconf
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/daemon/libvirtd.sysconf --- libvirt-1.2.13.orig/daemon/libvirtd.sysconf
+++ libvirt-1.2.12/daemon/libvirtd.sysconf +++ libvirt-1.2.13/daemon/libvirtd.sysconf
@@ -1,16 +1,25 @@ @@ -1,16 +1,25 @@
+## Path: System/Virtualization/libvirt +## Path: System/Virtualization/libvirt
+ +

View File

@ -2,10 +2,10 @@ Canonicalize hostarch name ppc64le to ppc64
See bnc#894956 See bnc#894956
Index: libvirt-1.2.12/src/util/virarch.c Index: libvirt-1.2.13/src/util/virarch.c
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/src/util/virarch.c --- libvirt-1.2.13.orig/src/util/virarch.c
+++ libvirt-1.2.12/src/util/virarch.c +++ libvirt-1.2.13/src/util/virarch.c
@@ -169,6 +169,8 @@ virArch virArchFromHost(void) @@ -169,6 +169,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-1.2.12/examples/apparmor/libvirt-qemu Index: libvirt-1.2.13/examples/apparmor/libvirt-qemu
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/examples/apparmor/libvirt-qemu --- libvirt-1.2.13.orig/examples/apparmor/libvirt-qemu
+++ libvirt-1.2.12/examples/apparmor/libvirt-qemu +++ libvirt-1.2.13/examples/apparmor/libvirt-qemu
@@ -124,6 +124,9 @@ @@ -124,6 +124,9 @@
/sys/bus/ r, /sys/bus/ r,
/sys/class/ r, /sys/class/ 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-1.2.12/src/xenconfig/xen_common.c Index: libvirt-1.2.13/src/xenconfig/xen_common.c
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/src/xenconfig/xen_common.c --- libvirt-1.2.13.orig/src/xenconfig/xen_common.c
+++ libvirt-1.2.12/src/xenconfig/xen_common.c +++ libvirt-1.2.13/src/xenconfig/xen_common.c
@@ -401,6 +401,8 @@ xenParsePCI(virConfPtr conf, virDomainDe @@ -401,6 +401,8 @@ xenParsePCI(virConfPtr conf, virDomainDe
{ {
virConfValuePtr list = virConfGetValue(conf, "pci"); virConfValuePtr list = virConfGetValue(conf, "pci");
@ -66,10 +66,10 @@ Index: libvirt-1.2.12/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-1.2.12/src/xenconfig/xen_sxpr.c Index: libvirt-1.2.13/src/xenconfig/xen_sxpr.c
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/src/xenconfig/xen_sxpr.c --- libvirt-1.2.13.orig/src/xenconfig/xen_sxpr.c
+++ libvirt-1.2.12/src/xenconfig/xen_sxpr.c +++ libvirt-1.2.13/src/xenconfig/xen_sxpr.c
@@ -999,6 +999,7 @@ xenParseSxprPCI(virDomainDefPtr def, @@ -999,6 +999,7 @@ xenParseSxprPCI(virDomainDefPtr def,
int busID; int busID;
int slotID; int slotID;

View File

@ -1,7 +1,7 @@
Index: libvirt-1.2.12/src/qemu/qemu.conf Index: libvirt-1.2.13/src/qemu/qemu.conf
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/src/qemu/qemu.conf --- libvirt-1.2.13.orig/src/qemu/qemu.conf
+++ libvirt-1.2.12/src/qemu/qemu.conf +++ libvirt-1.2.13/src/qemu/qemu.conf
@@ -204,7 +204,7 @@ @@ -204,7 +204,7 @@
# If set to non-zero, then the default security labeling # If set to non-zero, then the default security labeling
@ -39,11 +39,11 @@ Index: libvirt-1.2.12/src/qemu/qemu.conf
# #
#lock_manager = "lockd" #lock_manager = "lockd"
Index: libvirt-1.2.12/src/qemu/qemu_conf.c Index: libvirt-1.2.13/src/qemu/qemu_conf.c
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/src/qemu/qemu_conf.c --- libvirt-1.2.13.orig/src/qemu/qemu_conf.c
+++ libvirt-1.2.12/src/qemu/qemu_conf.c +++ libvirt-1.2.13/src/qemu/qemu_conf.c
@@ -249,7 +249,7 @@ virQEMUDriverConfigPtr virQEMUDriverConf @@ -293,7 +293,7 @@ virQEMUDriverConfigPtr virQEMUDriverConf
cfg->clearEmulatorCapabilities = true; cfg->clearEmulatorCapabilities = true;

View File

@ -1,7 +1,7 @@
Index: libvirt-1.2.12/daemon/libvirtd.service.in Index: libvirt-1.2.13/daemon/libvirtd.service.in
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/daemon/libvirtd.service.in --- libvirt-1.2.13.orig/daemon/libvirtd.service.in
+++ libvirt-1.2.12/daemon/libvirtd.service.in +++ libvirt-1.2.13/daemon/libvirtd.service.in
@@ -5,6 +5,8 @@ After=network.target @@ -5,6 +5,8 @@ After=network.target
After=dbus.service After=dbus.service
After=iscsid.service After=iscsid.service

View File

@ -1,9 +1,9 @@
Adjust virtlockd init files to conform to SUSE standards Adjust virtlockd init files to conform to SUSE standards
Index: libvirt-1.2.12/src/locking/virtlockd.sysconf Index: libvirt-1.2.13/src/locking/virtlockd.sysconf
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/src/locking/virtlockd.sysconf --- libvirt-1.2.13.orig/src/locking/virtlockd.sysconf
+++ libvirt-1.2.12/src/locking/virtlockd.sysconf +++ libvirt-1.2.13/src/locking/virtlockd.sysconf
@@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
+## Path: System/Virtualization/virtlockd +## Path: System/Virtualization/virtlockd
+ +
@ -12,10 +12,10 @@ Index: libvirt-1.2.12/src/locking/virtlockd.sysconf
# #
# Pass extra arguments to virtlockd # Pass extra arguments to virtlockd
#VIRTLOCKD_ARGS= #VIRTLOCKD_ARGS=
Index: libvirt-1.2.12/src/locking/virtlockd.init.in Index: libvirt-1.2.13/src/locking/virtlockd.init.in
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/src/locking/virtlockd.init.in --- libvirt-1.2.13.orig/src/locking/virtlockd.init.in
+++ libvirt-1.2.12/src/locking/virtlockd.init.in +++ libvirt-1.2.13/src/locking/virtlockd.init.in
@@ -4,12 +4,14 @@ @@ -4,12 +4,14 @@
# http://www.linux-foundation.org/spec//booksets/LSB-Core-generic/LSB-Core-generic.html#INITSCRCOMCONV # http://www.linux-foundation.org/spec//booksets/LSB-Core-generic/LSB-Core-generic.html#INITSCRCOMCONV
# #

View File

@ -14,10 +14,10 @@
is inactive. We obviously can't search xenstore when the domain is is inactive. We obviously can't search xenstore when the domain is
inactive. inactive.
Index: libvirt-1.2.12/src/xen/xend_internal.c Index: libvirt-1.2.13/src/xen/xend_internal.c
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/src/xen/xend_internal.c --- libvirt-1.2.13.orig/src/xen/xend_internal.c
+++ libvirt-1.2.12/src/xen/xend_internal.c +++ libvirt-1.2.13/src/xen/xend_internal.c
@@ -72,7 +72,7 @@ VIR_LOG_INIT("xen.xend_internal"); @@ -72,7 +72,7 @@ VIR_LOG_INIT("xen.xend_internal");
#define XEND_RCV_BUF_MAX_LEN (256 * 1024) #define XEND_RCV_BUF_MAX_LEN (256 * 1024)
@ -27,7 +27,7 @@ Index: libvirt-1.2.12/src/xen/xend_internal.c
virDomainDeviceDefPtr dev, char *class, virDomainDeviceDefPtr dev, char *class,
char *ref, int ref_len); char *ref, int ref_len);
@@ -3319,37 +3319,35 @@ xenDaemonDomainBlockPeek(virConnectPtr c @@ -3319,18 +3319,18 @@ xenDaemonDomainBlockPeek(virConnectPtr c
* Returns 0 in case of success, -1 in case of failure. * Returns 0 in case of success, -1 in case of failure.
*/ */
static int static int
@ -43,13 +43,14 @@ Index: libvirt-1.2.12/src/xen/xend_internal.c
- char *xref; - char *xref;
- char *tmp; - char *tmp;
+ size_t i; + size_t i;
const char *driver = virDomainDiskGetDriver(dev->data.disk);
if (dev->type == VIR_DOMAIN_DEVICE_DISK) { if (dev->type == VIR_DOMAIN_DEVICE_DISK) {
+ if (dev->data.disk->dst == NULL) + if (dev->data.disk->dst == NULL)
+ return -1; + return -1;
const char *driver = virDomainDiskGetDriver(dev->data.disk);
if (STREQ_NULLABLE(driver, "tap") || STREQ_NULLABLE(driver, "tap2")) if (STREQ_NULLABLE(driver, "tap") || STREQ_NULLABLE(driver, "tap2"))
strcpy(class, driver); @@ -3338,19 +3338,17 @@ virDomainXMLDevID(virConnectPtr conn,
else else
strcpy(class, "vbd"); strcpy(class, "vbd");
@ -80,7 +81,7 @@ Index: libvirt-1.2.12/src/xen/xend_internal.c
} else if (dev->type == VIR_DOMAIN_DEVICE_NET) { } else if (dev->type == VIR_DOMAIN_DEVICE_NET) {
char mac[VIR_MAC_STRING_BUFLEN]; char mac[VIR_MAC_STRING_BUFLEN];
virDomainNetDefPtr netdef = dev->data.net; virDomainNetDefPtr netdef = dev->data.net;
@@ -3357,16 +3355,22 @@ virDomainXMLDevID(virConnectPtr conn, @@ -3358,16 +3356,22 @@ virDomainXMLDevID(virConnectPtr conn,
strcpy(class, "vif"); strcpy(class, "vif");
@ -113,7 +114,7 @@ Index: libvirt-1.2.12/src/xen/xend_internal.c
} else if (dev->type == VIR_DOMAIN_DEVICE_HOSTDEV && } else if (dev->type == VIR_DOMAIN_DEVICE_HOSTDEV &&
dev->data.hostdev->mode == VIR_DOMAIN_HOSTDEV_MODE_SUBSYS && dev->data.hostdev->mode == VIR_DOMAIN_HOSTDEV_MODE_SUBSYS &&
dev->data.hostdev->source.subsys.type == VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI) { dev->data.hostdev->source.subsys.type == VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI) {
@@ -3382,17 +3386,43 @@ virDomainXMLDevID(virConnectPtr conn, @@ -3383,17 +3387,43 @@ virDomainXMLDevID(virConnectPtr conn,
strcpy(class, "pci"); strcpy(class, "pci");

View File

@ -1,7 +1,7 @@
Index: libvirt-1.2.12/src/xenconfig/xen_sxpr.c Index: libvirt-1.2.13/src/xenconfig/xen_sxpr.c
=================================================================== ===================================================================
--- libvirt-1.2.12.orig/src/xenconfig/xen_sxpr.c --- libvirt-1.2.13.orig/src/xenconfig/xen_sxpr.c
+++ libvirt-1.2.12/src/xenconfig/xen_sxpr.c +++ libvirt-1.2.13/src/xenconfig/xen_sxpr.c
@@ -334,7 +334,7 @@ xenParseSxprChar(const char *value, @@ -334,7 +334,7 @@ xenParseSxprChar(const char *value,
static int static int
xenParseSxprDisks(virDomainDefPtr def, xenParseSxprDisks(virDomainDefPtr def,