Accepting request 451473 from home:jfehlig:branches:Virtualization
- Update to libvirt 3.0.0 - Many incremental improvements and bug fixes, see http://libvirt.org/news.html - Add b018ada3-shunloadtest-build-fix.patch to fix 'make check' failures - Add qemu-disable-namespaces.patch to temporarily disable qemu namespace feature until all issues are resolved OBS-URL: https://build.opensuse.org/request/show/451473 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=578
This commit is contained in:
parent
5ee7674bd0
commit
14a390fa2a
@ -1,10 +1,10 @@
|
|||||||
Index: libvirt-2.5.0/examples/apparmor/libvirt-qemu
|
Index: libvirt-3.0.0/examples/apparmor/libvirt-qemu
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/examples/apparmor/libvirt-qemu
|
--- libvirt-3.0.0.orig/examples/apparmor/libvirt-qemu
|
||||||
+++ libvirt-2.5.0/examples/apparmor/libvirt-qemu
|
+++ libvirt-3.0.0/examples/apparmor/libvirt-qemu
|
||||||
@@ -143,6 +143,9 @@
|
@@ -146,6 +146,9 @@
|
||||||
# for restore
|
# for restore
|
||||||
/bin/bash rmix,
|
/{usr/,}bin/bash rmix,
|
||||||
|
|
||||||
+ /run/nscd/passwd r,
|
+ /run/nscd/passwd r,
|
||||||
+ /run/nscd/group r,
|
+ /run/nscd/group r,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: libvirt-2.5.0/examples/apparmor/libvirt-lxc
|
Index: libvirt-3.0.0/examples/apparmor/libvirt-lxc
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/examples/apparmor/libvirt-lxc
|
--- libvirt-3.0.0.orig/examples/apparmor/libvirt-lxc
|
||||||
+++ libvirt-2.5.0/examples/apparmor/libvirt-lxc
|
+++ libvirt-3.0.0/examples/apparmor/libvirt-lxc
|
||||||
@@ -2,39 +2,15 @@
|
@@ -2,39 +2,15 @@
|
||||||
|
|
||||||
#include <abstractions/base>
|
#include <abstractions/base>
|
||||||
|
33
b018ada3-shunloadtest-build-fix.patch
Normal file
33
b018ada3-shunloadtest-build-fix.patch
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
commit b018ada3304c08e02b0750f8735b0702f0fd5f8c
|
||||||
|
Author: Jim Fehlig <jfehlig@suse.com>
|
||||||
|
Date: Mon Jan 16 10:58:00 2017 -0700
|
||||||
|
|
||||||
|
tests: fix compilation of shunloadtest
|
||||||
|
|
||||||
|
While local builds succeed fine, a build worker building in a
|
||||||
|
chroot environment is encountering the following error with
|
||||||
|
libvirt 3.0.0 release candidates
|
||||||
|
|
||||||
|
[ 162s] shunloadtest.o: In function `main':
|
||||||
|
[ 162s] /home/abuild/rpmbuild/BUILD/libvirt-3.0.0/tests/shunloadtest.c:110: undefined reference to `dlopen'
|
||||||
|
[ 162s] /home/abuild/rpmbuild/BUILD/libvirt-3.0.0/tests/shunloadtest.c:114: undefined reference to `dlsym'
|
||||||
|
[ 162s] /home/abuild/rpmbuild/BUILD/libvirt-3.0.0/tests/shunloadtest.c:133: undefined reference to `dlclose'
|
||||||
|
[ 162s] /home/abuild/rpmbuild/BUILD/libvirt-3.0.0/tests/shunloadtest.c:111: undefined reference to `dlerror'
|
||||||
|
[ 162s] /home/abuild/rpmbuild/BUILD/libvirt-3.0.0/tests/shunloadtest.c:115: undefined reference to `dlerror'
|
||||||
|
[ 162s] /home/abuild/rpmbuild/BUILD/libvirt-3.0.0/tests/shunloadtest.c:116: undefined reference to `dlclose'
|
||||||
|
|
||||||
|
Fix by appending DLOPEN_LIBS to shunloadtest_LDADD.
|
||||||
|
|
||||||
|
Index: libvirt-3.0.0/tests/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- libvirt-3.0.0.orig/tests/Makefile.am
|
||||||
|
+++ libvirt-3.0.0/tests/Makefile.am
|
||||||
|
@@ -1348,7 +1348,7 @@ libshunload_la_LDFLAGS = $(MOCKLIBS_LDFL
|
||||||
|
|
||||||
|
shunloadtest_SOURCES = \
|
||||||
|
shunloadtest.c
|
||||||
|
-shunloadtest_LDADD = $(LIB_PTHREAD)
|
||||||
|
+shunloadtest_LDADD = $(LIB_PTHREAD) $(DLOPEN_LIBS)
|
||||||
|
shunloadtest_DEPENDENCIES = libshunload.la
|
||||||
|
|
||||||
|
sysinfotest_SOURCES = \
|
@ -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-2.5.0/src/qemu/qemu_driver.c
|
Index: libvirt-3.0.0/src/qemu/qemu_driver.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/qemu/qemu_driver.c
|
--- libvirt-3.0.0.orig/src/qemu/qemu_driver.c
|
||||||
+++ libvirt-2.5.0/src/qemu/qemu_driver.c
|
+++ libvirt-3.0.0/src/qemu/qemu_driver.c
|
||||||
@@ -16680,6 +16680,15 @@ qemuDomainBlockCopyCommon(virDomainObjPt
|
@@ -16828,6 +16828,15 @@ qemuDomainBlockCopyCommon(virDomainObjPt
|
||||||
_("non-file destination not supported yet"));
|
_("non-file destination not supported yet"));
|
||||||
goto endjob;
|
goto endjob;
|
||||||
}
|
}
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:819dffefbfd6ae95dfe1b28cfdee15ebcf9f91bbd732157488a57705bf81cb1e
|
|
||||||
size 13638636
|
|
@ -1,10 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQEcBAABAgAGBQJYRIafAAoJEBVYiyZZa+pdCEkIAMzxa5BHPXFnolPlD06kNRBl
|
|
||||||
aqiLDiFb9uYMAdg87pNiHMzwjhby9iH8HORflxGpW7MLSNS/Q3U66WFt6EUefzv1
|
|
||||||
PRLfR+9rkdGmwrDBoj8HA/EeDaC3OR5j0XdAYn6KXFTTWlOo5IgC+3idq6iIxXYP
|
|
||||||
wco3HKo+gm863U5O2a+EPsWqSj0jopjU9wj9c1uCR8t1Ezhz+iI8qk3GWoozMzBI
|
|
||||||
s6Z5a7KmUKZAHUDy+vD1UAOATy2+8kEJ57hAeaaj5WPEC6x1l3u6MDQRmZ+wM7C9
|
|
||||||
PV5VUvDDzm9mCakmhIL8/2iPlLip6Qk2HXVjObimiqGO5xQvWlD0ivuZrfClkpM=
|
|
||||||
=lyBB
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
libvirt-3.0.0.tar.xz
Normal file
3
libvirt-3.0.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9d9d26b70e13b1b2dfde5789ed52fc4528289a37e0f158418e9746263b37175e
|
||||||
|
size 13815736
|
10
libvirt-3.0.0.tar.xz.asc
Normal file
10
libvirt-3.0.0.tar.xz.asc
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQEcBAABAgAGBQJYfl7BAAoJEBVYiyZZa+pdlPoH/0nWMZ7B4U8PAz/WCW1vasvF
|
||||||
|
MC/2BN9owUgA5LTKKROTMG2eoY1daJJgpZ+kC61Xnlnt39DDSvisQlPlnmhb6RLU
|
||||||
|
1JtopaDIkhTQ/lL9JG4pnvAHTcHbBqWmGC3jSKBrLAfjjfpkPHYuJqnnDfnMQ9a7
|
||||||
|
lm4PE0MQZtvZILqYUPJiuzYinvyBkzHacd1+FlUZZIdBEOGp28xoh4ILHc7f6iDL
|
||||||
|
P/87gsmrIE/A/ElWCCntQPpn5s99Oz2WIpdnyK+9jBxd5EfZOTo/69qTNLn4XLRE
|
||||||
|
F4LlkAX7HducBOtNPIVMYNXWI1sdq+LzhKW5lL5wQDFh7kKTK8WL5sc3EPNmHnw=
|
||||||
|
=mauQ
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -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-2.5.0/tools/libvirt-guests.init.in
|
Index: libvirt-3.0.0/tools/libvirt-guests.init.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/tools/libvirt-guests.init.in
|
--- libvirt-3.0.0.orig/tools/libvirt-guests.init.in
|
||||||
+++ libvirt-2.5.0/tools/libvirt-guests.init.in
|
+++ libvirt-3.0.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
|
||||||
#
|
#
|
||||||
@ -45,10 +45,10 @@ Index: libvirt-2.5.0/tools/libvirt-guests.init.in
|
|||||||
#
|
#
|
||||||
|
|
||||||
exec @libexecdir@/libvirt-guests.sh "$@"
|
exec @libexecdir@/libvirt-guests.sh "$@"
|
||||||
Index: libvirt-2.5.0/tools/libvirt-guests.sh.in
|
Index: libvirt-3.0.0/tools/libvirt-guests.sh.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/tools/libvirt-guests.sh.in
|
--- libvirt-3.0.0.orig/tools/libvirt-guests.sh.in
|
||||||
+++ libvirt-2.5.0/tools/libvirt-guests.sh.in
|
+++ libvirt-3.0.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/>.
|
||||||
@ -208,10 +208,10 @@ Index: libvirt-2.5.0/tools/libvirt-guests.sh.in
|
|||||||
esac
|
esac
|
||||||
-exit $RETVAL
|
-exit $RETVAL
|
||||||
+rc_exit
|
+rc_exit
|
||||||
Index: libvirt-2.5.0/tools/libvirt-guests.sysconf
|
Index: libvirt-3.0.0/tools/libvirt-guests.sysconf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/tools/libvirt-guests.sysconf
|
--- libvirt-3.0.0.orig/tools/libvirt-guests.sysconf
|
||||||
+++ libvirt-2.5.0/tools/libvirt-guests.sysconf
|
+++ libvirt-3.0.0/tools/libvirt-guests.sysconf
|
||||||
@@ -1,19 +1,29 @@
|
@@ -1,19 +1,29 @@
|
||||||
+## Path: System/Virtualization/libvirt-guests
|
+## Path: System/Virtualization/libvirt-guests
|
||||||
+
|
+
|
||||||
|
@ -2,11 +2,11 @@ Add POWER8 v2.0 and v2.1 to cpu map XML
|
|||||||
|
|
||||||
From: <ro@suse.de>
|
From: <ro@suse.de>
|
||||||
|
|
||||||
Index: libvirt-2.5.0/src/cpu/cpu_map.xml
|
Index: libvirt-3.0.0/src/cpu/cpu_map.xml
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/cpu/cpu_map.xml
|
--- libvirt-3.0.0.orig/src/cpu/cpu_map.xml
|
||||||
+++ libvirt-2.5.0/src/cpu/cpu_map.xml
|
+++ libvirt-3.0.0/src/cpu/cpu_map.xml
|
||||||
@@ -1540,6 +1540,8 @@
|
@@ -1569,6 +1569,8 @@
|
||||||
<pvr value='0x004b0000' mask='0xffff0000'/>
|
<pvr value='0x004b0000' mask='0xffff0000'/>
|
||||||
<pvr value='0x004c0000' mask='0xffff0000'/>
|
<pvr value='0x004c0000' mask='0xffff0000'/>
|
||||||
<pvr value='0x004d0000' mask='0xffff0000'/>
|
<pvr value='0x004d0000' mask='0xffff0000'/>
|
||||||
|
@ -1,44 +1,36 @@
|
|||||||
Index: libvirt-2.5.0/configure.ac
|
Index: libvirt-3.0.0/configure.ac
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/configure.ac
|
--- libvirt-3.0.0.orig/configure.ac
|
||||||
+++ libvirt-2.5.0/configure.ac
|
+++ libvirt-3.0.0/configure.ac
|
||||||
@@ -251,6 +251,7 @@ LIBVIRT_CHECK_GLUSTER
|
@@ -255,6 +255,7 @@ LIBVIRT_ARG_LIBSSH
|
||||||
LIBVIRT_CHECK_HAL
|
LIBVIRT_ARG_LIBXML
|
||||||
LIBVIRT_CHECK_LIBSSH
|
LIBVIRT_ARG_MACVTAP
|
||||||
|
LIBVIRT_ARG_NETCF
|
||||||
|
+LIBVIRT_ARG_NETCONTROL
|
||||||
|
LIBVIRT_ARG_NSS
|
||||||
|
LIBVIRT_ARG_NUMACTL
|
||||||
|
LIBVIRT_ARG_OPENWSMAN
|
||||||
|
@@ -294,6 +295,7 @@ LIBVIRT_CHECK_LIBSSH
|
||||||
|
LIBVIRT_CHECK_LIBXML
|
||||||
|
LIBVIRT_CHECK_MACVTAP
|
||||||
LIBVIRT_CHECK_NETCF
|
LIBVIRT_CHECK_NETCF
|
||||||
+LIBVIRT_CHECK_NETCONTROL
|
+LIBVIRT_CHECK_NETCONTROL
|
||||||
LIBVIRT_CHECK_NUMACTL
|
LIBVIRT_CHECK_NUMACTL
|
||||||
|
LIBVIRT_CHECK_NWFILTER
|
||||||
LIBVIRT_CHECK_OPENWSMAN
|
LIBVIRT_CHECK_OPENWSMAN
|
||||||
LIBVIRT_CHECK_PCIACCESS
|
@@ -977,6 +979,7 @@ LIBVIRT_RESULT_LIBXL
|
||||||
@@ -2287,11 +2288,12 @@ if test "$with_libvirtd" = "no" ; then
|
LIBVIRT_RESULT_LIBXML
|
||||||
with_interface=no
|
LIBVIRT_RESULT_MACVTAP
|
||||||
fi
|
|
||||||
|
|
||||||
-dnl The interface driver depends on the netcf library or udev library
|
|
||||||
-case $with_interface:$with_netcf:$with_udev in
|
|
||||||
+dnl The interface driver depends on the netcf library, netcontrol library, or
|
|
||||||
+dnl udev library
|
|
||||||
+case $with_interface:$with_netcf:$with_netcontrol:$with_udev in
|
|
||||||
check:*yes*) with_interface=yes ;;
|
|
||||||
check:no:no) with_interface=no ;;
|
|
||||||
- yes:no:no) AC_MSG_ERROR([Requested the Interface driver without netcf or udev support]) ;;
|
|
||||||
+ yes:no:no) AC_MSG_ERROR([Requested the Interface driver without netcf, netcontrol, or udev support]) ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if test "$with_interface" = "yes" ; then
|
|
||||||
@@ -2680,6 +2682,7 @@ LIBVIRT_RESULT_GLUSTER
|
|
||||||
LIBVIRT_RESULT_HAL
|
|
||||||
LIBVIRT_RESULT_LIBSSH
|
|
||||||
LIBVIRT_RESULT_NETCF
|
LIBVIRT_RESULT_NETCF
|
||||||
+LIBVIRT_RESULT_NETCONTROL
|
+LIBVIRT_RESULT_NETCONTROL
|
||||||
|
LIBVIRT_RESULT_NSS
|
||||||
LIBVIRT_RESULT_NUMACTL
|
LIBVIRT_RESULT_NUMACTL
|
||||||
LIBVIRT_RESULT_OPENWSMAN
|
LIBVIRT_RESULT_OPENWSMAN
|
||||||
LIBVIRT_RESULT_PCIACCESS
|
Index: libvirt-3.0.0/src/Makefile.am
|
||||||
Index: libvirt-2.5.0/src/Makefile.am
|
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/Makefile.am
|
--- libvirt-3.0.0.orig/src/Makefile.am
|
||||||
+++ libvirt-2.5.0/src/Makefile.am
|
+++ libvirt-3.0.0/src/Makefile.am
|
||||||
@@ -954,6 +954,10 @@ if WITH_NETCF
|
@@ -957,6 +957,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 +41,7 @@ Index: libvirt-2.5.0/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
|
||||||
@@ -1603,6 +1607,10 @@ if WITH_NETCF
|
@@ -1610,6 +1614,10 @@ 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)
|
||||||
endif WITH_NETCF
|
endif WITH_NETCF
|
||||||
@ -60,10 +52,10 @@ Index: libvirt-2.5.0/src/Makefile.am
|
|||||||
if WITH_UDEV
|
if WITH_UDEV
|
||||||
libvirt_driver_interface_la_CFLAGS += $(UDEV_CFLAGS)
|
libvirt_driver_interface_la_CFLAGS += $(UDEV_CFLAGS)
|
||||||
libvirt_driver_interface_la_LIBADD += $(UDEV_LIBS)
|
libvirt_driver_interface_la_LIBADD += $(UDEV_LIBS)
|
||||||
Index: libvirt-2.5.0/tools/virsh.c
|
Index: libvirt-3.0.0/tools/virsh.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/tools/virsh.c
|
--- libvirt-3.0.0.orig/tools/virsh.c
|
||||||
+++ libvirt-2.5.0/tools/virsh.c
|
+++ libvirt-3.0.0/tools/virsh.c
|
||||||
@@ -602,6 +602,8 @@ virshShowVersion(vshControl *ctl ATTRIBU
|
@@ -602,6 +602,8 @@ virshShowVersion(vshControl *ctl ATTRIBU
|
||||||
vshPrint(ctl, " Interface");
|
vshPrint(ctl, " Interface");
|
||||||
# if defined(WITH_NETCF)
|
# if defined(WITH_NETCF)
|
||||||
@ -73,10 +65,10 @@ Index: libvirt-2.5.0/tools/virsh.c
|
|||||||
# elif defined(WITH_UDEV)
|
# elif defined(WITH_UDEV)
|
||||||
vshPrint(ctl, " udev");
|
vshPrint(ctl, " udev");
|
||||||
# endif
|
# endif
|
||||||
Index: libvirt-2.5.0/src/interface/interface_backend_netcf.c
|
Index: libvirt-3.0.0/src/interface/interface_backend_netcf.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/interface/interface_backend_netcf.c
|
--- libvirt-3.0.0.orig/src/interface/interface_backend_netcf.c
|
||||||
+++ libvirt-2.5.0/src/interface/interface_backend_netcf.c
|
+++ libvirt-3.0.0/src/interface/interface_backend_netcf.c
|
||||||
@@ -23,7 +23,12 @@
|
@@ -23,7 +23,12 @@
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
@ -160,10 +152,10 @@ Index: libvirt-2.5.0/src/interface/interface_backend_netcf.c
|
|||||||
if (virSetSharedInterfaceDriver(&interfaceDriver) < 0)
|
if (virSetSharedInterfaceDriver(&interfaceDriver) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
if (virRegisterStateDriver(&interfaceStateDriver) < 0)
|
if (virRegisterStateDriver(&interfaceStateDriver) < 0)
|
||||||
Index: libvirt-2.5.0/src/interface/interface_driver.c
|
Index: libvirt-3.0.0/src/interface/interface_driver.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/interface/interface_driver.c
|
--- libvirt-3.0.0.orig/src/interface/interface_driver.c
|
||||||
+++ libvirt-2.5.0/src/interface/interface_driver.c
|
+++ libvirt-3.0.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;
|
||||||
@ -181,11 +173,11 @@ Index: libvirt-2.5.0/src/interface/interface_driver.c
|
|||||||
if (udevIfaceRegister() == 0)
|
if (udevIfaceRegister() == 0)
|
||||||
return 0;
|
return 0;
|
||||||
#endif /* WITH_UDEV */
|
#endif /* WITH_UDEV */
|
||||||
Index: libvirt-2.5.0/m4/virt-netcontrol.m4
|
Index: libvirt-3.0.0/m4/virt-netcontrol.m4
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ libvirt-2.5.0/m4/virt-netcontrol.m4
|
+++ libvirt-3.0.0/m4/virt-netcontrol.m4
|
||||||
@@ -0,0 +1,35 @@
|
@@ -0,0 +1,39 @@
|
||||||
+dnl The libnetcontrol library
|
+dnl The libnetcontrol library
|
||||||
+dnl
|
+dnl
|
||||||
+dnl Copyright (C) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
+dnl Copyright (C) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
@ -205,6 +197,10 @@ Index: libvirt-2.5.0/m4/virt-netcontrol.m4
|
|||||||
+dnl <http://www.gnu.org/licenses/>.
|
+dnl <http://www.gnu.org/licenses/>.
|
||||||
+dnl
|
+dnl
|
||||||
+
|
+
|
||||||
|
+AC_DEFUN([LIBVIRT_ARG_NETCONTROL],[
|
||||||
|
+ LIBVIRT_ARG_WITH_FEATURE([NETCONTROL], [netcontrol], [check], [0.2.0])
|
||||||
|
+])
|
||||||
|
+
|
||||||
+AC_DEFUN([LIBVIRT_CHECK_NETCONTROL],[
|
+AC_DEFUN([LIBVIRT_CHECK_NETCONTROL],[
|
||||||
+ LIBVIRT_CHECK_PKG([NETCONTROL], [netcontrol], [0.2.0])
|
+ LIBVIRT_CHECK_PKG([NETCONTROL], [netcontrol], [0.2.0])
|
||||||
+
|
+
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 18 23:34:31 UTC 2017 - jfehlig@suse.com
|
||||||
|
|
||||||
|
- Update to libvirt 3.0.0
|
||||||
|
- Many incremental improvements and bug fixes, see
|
||||||
|
http://libvirt.org/news.html
|
||||||
|
- Add b018ada3-shunloadtest-build-fix.patch to fix 'make check'
|
||||||
|
failures
|
||||||
|
- Add qemu-disable-namespaces.patch to temporarily disable
|
||||||
|
qemu namespace feature until all issues are resolved
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 28 10:20:49 UTC 2016 - matwey.kornilov@gmail.com
|
Wed Dec 28 10:20:49 UTC 2016 - matwey.kornilov@gmail.com
|
||||||
|
|
||||||
|
15
libvirt.spec
15
libvirt.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libvirt
|
# spec file for package libvirt
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 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
|
||||||
@ -175,7 +175,7 @@
|
|||||||
|
|
||||||
Name: libvirt
|
Name: libvirt
|
||||||
Url: http://libvirt.org/
|
Url: http://libvirt.org/
|
||||||
Version: 2.5.0
|
Version: 3.0.0
|
||||||
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+
|
||||||
@ -313,6 +313,7 @@ Source4: libvirtd-relocation-server.fw
|
|||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
Source100: %{name}-rpmlintrc
|
Source100: %{name}-rpmlintrc
|
||||||
# Upstream patches
|
# Upstream patches
|
||||||
|
Patch0: b018ada3-shunloadtest-build-fix.patch
|
||||||
# Patches pending upstream review
|
# Patches pending upstream review
|
||||||
Patch100: libxl-dom-reset.patch
|
Patch100: libxl-dom-reset.patch
|
||||||
# Need to go upstream
|
# Need to go upstream
|
||||||
@ -339,6 +340,10 @@ Patch211: qemu-apparmor-screenshot.patch
|
|||||||
Patch212: libvirt-suse-netcontrol.patch
|
Patch212: libvirt-suse-netcontrol.patch
|
||||||
Patch213: lxc-wait-after-eth-del.patch
|
Patch213: lxc-wait-after-eth-del.patch
|
||||||
Patch214: libxl-qemu-emulator-caps.patch
|
Patch214: libxl-qemu-emulator-caps.patch
|
||||||
|
# Similar to upstream, temporarily disable qemu namespaces until all issues
|
||||||
|
# are resolved. See
|
||||||
|
# https://www.redhat.com/archives/libvir-list/2017-January/msg00790.html
|
||||||
|
Patch300: qemu-disable-namespaces.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -715,9 +720,9 @@ capabilities of recent versions of Linux (and other OSes).
|
|||||||
|
|
||||||
%package libs
|
%package libs
|
||||||
Summary: Client side libraries
|
Summary: Client side libraries
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
# So remote clients can access libvirt over SSH tunnel
|
# So remote clients can access libvirt over SSH tunnel
|
||||||
# (client invokes 'nc' against the UNIX socket on the server)
|
# (client invokes 'nc' against the UNIX socket on the server)
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
Requires: netcat-openbsd
|
Requires: netcat-openbsd
|
||||||
# Not technically required, but makes 'out-of-box' config
|
# Not technically required, but makes 'out-of-box' config
|
||||||
# work correctly & doesn't have onerous dependencies
|
# work correctly & doesn't have onerous dependencies
|
||||||
@ -783,6 +788,7 @@ libvirt plugin for NSS for translating domain names into IP addresses.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
%patch150 -p1
|
%patch150 -p1
|
||||||
%patch151 -p1
|
%patch151 -p1
|
||||||
@ -806,6 +812,7 @@ libvirt plugin for NSS for translating domain names into IP addresses.
|
|||||||
%patch212 -p1
|
%patch212 -p1
|
||||||
%patch213 -p1
|
%patch213 -p1
|
||||||
%patch214 -p1
|
%patch214 -p1
|
||||||
|
%patch300 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{with_xen}
|
%if %{with_xen}
|
||||||
@ -1550,6 +1557,7 @@ fi
|
|||||||
%{_datadir}/libvirt/schemas/storagepool.rng
|
%{_datadir}/libvirt/schemas/storagepool.rng
|
||||||
%{_datadir}/libvirt/schemas/storagevol.rng
|
%{_datadir}/libvirt/schemas/storagevol.rng
|
||||||
%{_datadir}/libvirt/cpu_map.xml
|
%{_datadir}/libvirt/cpu_map.xml
|
||||||
|
%{_datadir}/libvirt/test-screenshot.png
|
||||||
|
|
||||||
%dir %{_sysconfdir}/sasl2/
|
%dir %{_sysconfdir}/sasl2/
|
||||||
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
|
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
|
||||||
@ -1619,5 +1627,6 @@ fi
|
|||||||
|
|
||||||
%files nss
|
%files nss
|
||||||
%{_libdir}/libnss_libvirt.so.2
|
%{_libdir}/libnss_libvirt.so.2
|
||||||
|
%{_libdir}/libnss_libvirt_guest.so.2
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: libvirt-2.5.0/daemon/libvirtd.conf
|
Index: libvirt-3.0.0/daemon/libvirtd.conf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/daemon/libvirtd.conf
|
--- libvirt-3.0.0.orig/daemon/libvirtd.conf
|
||||||
+++ libvirt-2.5.0/daemon/libvirtd.conf
|
+++ libvirt-3.0.0/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-2.5.0/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-2.5.0/daemon/libvirtd-config.c
|
Index: libvirt-3.0.0/daemon/libvirtd-config.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/daemon/libvirtd-config.c
|
--- libvirt-3.0.0.orig/daemon/libvirtd-config.c
|
||||||
+++ libvirt-2.5.0/daemon/libvirtd-config.c
|
+++ libvirt-3.0.0/daemon/libvirtd-config.c
|
||||||
@@ -109,7 +109,7 @@ daemonConfigNew(bool privileged ATTRIBUT
|
@@ -109,7 +109,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-2.5.0/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-2.5.0/daemon/test_libvirtd.aug.in
|
Index: libvirt-3.0.0/daemon/test_libvirtd.aug.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/daemon/test_libvirtd.aug.in
|
--- libvirt-3.0.0.orig/daemon/test_libvirtd.aug.in
|
||||||
+++ libvirt-2.5.0/daemon/test_libvirtd.aug.in
|
+++ libvirt-3.0.0/daemon/test_libvirtd.aug.in
|
||||||
@@ -2,7 +2,7 @@ module Test_libvirtd =
|
@@ -2,7 +2,7 @@ module Test_libvirtd =
|
||||||
::CONFIG::
|
::CONFIG::
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
Adjust libvirtd sysconfig file to conform to SUSE standards
|
Adjust libvirtd sysconfig file to conform to SUSE standards
|
||||||
|
|
||||||
Index: libvirt-2.5.0/daemon/libvirtd.sysconf
|
Index: libvirt-3.0.0/daemon/libvirtd.sysconf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/daemon/libvirtd.sysconf
|
--- libvirt-3.0.0.orig/daemon/libvirtd.sysconf
|
||||||
+++ libvirt-2.5.0/daemon/libvirtd.sysconf
|
+++ libvirt-3.0.0/daemon/libvirtd.sysconf
|
||||||
@@ -1,16 +1,25 @@
|
@@ -1,16 +1,25 @@
|
||||||
+## Path: System/Virtualization/libvirt
|
+## Path: System/Virtualization/libvirt
|
||||||
+
|
+
|
||||||
|
@ -8,11 +8,11 @@ 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-2.5.0/src/libxl/libxl_driver.c
|
Index: libvirt-3.0.0/src/libxl/libxl_driver.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/libxl/libxl_driver.c
|
--- libvirt-3.0.0.orig/src/libxl/libxl_driver.c
|
||||||
+++ libvirt-2.5.0/src/libxl/libxl_driver.c
|
+++ libvirt-3.0.0/src/libxl/libxl_driver.c
|
||||||
@@ -1384,6 +1384,61 @@ libxlDomainReboot(virDomainPtr dom, unsi
|
@@ -1386,6 +1386,61 @@ libxlDomainReboot(virDomainPtr dom, unsi
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
@ -74,7 +74,7 @@ Index: libvirt-2.5.0/src/libxl/libxl_driver.c
|
|||||||
libxlDomainDestroyFlags(virDomainPtr dom,
|
libxlDomainDestroyFlags(virDomainPtr dom,
|
||||||
unsigned int flags)
|
unsigned int flags)
|
||||||
{
|
{
|
||||||
@@ -6429,6 +6484,7 @@ static virHypervisorDriver libxlHypervis
|
@@ -6438,6 +6493,7 @@ static virHypervisorDriver libxlHypervis
|
||||||
.domainShutdown = libxlDomainShutdown, /* 0.9.0 */
|
.domainShutdown = libxlDomainShutdown, /* 0.9.0 */
|
||||||
.domainShutdownFlags = libxlDomainShutdownFlags, /* 0.9.10 */
|
.domainShutdownFlags = libxlDomainShutdownFlags, /* 0.9.10 */
|
||||||
.domainReboot = libxlDomainReboot, /* 0.9.0 */
|
.domainReboot = libxlDomainReboot, /* 0.9.0 */
|
||||||
|
@ -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-2.5.0/src/libxl/libxl_capabilities.c
|
Index: libvirt-3.0.0/src/libxl/libxl_capabilities.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/libxl/libxl_capabilities.c
|
--- libvirt-3.0.0.orig/src/libxl/libxl_capabilities.c
|
||||||
+++ libvirt-2.5.0/src/libxl/libxl_capabilities.c
|
+++ libvirt-3.0.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"
|
||||||
|
@ -3,11 +3,11 @@ 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-2.5.0/src/libxl/libxl_conf.c
|
Index: libvirt-3.0.0/src/libxl/libxl_conf.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/libxl/libxl_conf.c
|
--- libvirt-3.0.0.orig/src/libxl/libxl_conf.c
|
||||||
+++ libvirt-2.5.0/src/libxl/libxl_conf.c
|
+++ libvirt-3.0.0/src/libxl/libxl_conf.c
|
||||||
@@ -584,6 +584,30 @@ libxlDiskSetDiscard(libxl_device_disk *x
|
@@ -583,6 +583,30 @@ libxlDiskSetDiscard(libxl_device_disk *x
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ Index: libvirt-2.5.0/src/libxl/libxl_conf.c
|
|||||||
static char *
|
static char *
|
||||||
libxlMakeNetworkDiskSrcStr(virStorageSourcePtr src,
|
libxlMakeNetworkDiskSrcStr(virStorageSourcePtr src,
|
||||||
const char *username,
|
const char *username,
|
||||||
@@ -826,6 +850,7 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk
|
@@ -836,6 +860,7 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk
|
||||||
x_disk->is_cdrom = l_disk->device == VIR_DOMAIN_DISK_DEVICE_CDROM ? 1 : 0;
|
x_disk->is_cdrom = l_disk->device == VIR_DOMAIN_DISK_DEVICE_CDROM ? 1 : 0;
|
||||||
if (libxlDiskSetDiscard(x_disk, l_disk->discard) < 0)
|
if (libxlDiskSetDiscard(x_disk, l_disk->discard) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -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-2.5.0/include/libvirt/libvirt-domain.h
|
Index: libvirt-3.0.0/include/libvirt/libvirt-domain.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/include/libvirt/libvirt-domain.h
|
--- libvirt-3.0.0.orig/include/libvirt/libvirt-domain.h
|
||||||
+++ libvirt-2.5.0/include/libvirt/libvirt-domain.h
|
+++ libvirt-3.0.0/include/libvirt/libvirt-domain.h
|
||||||
@@ -1000,6 +1000,31 @@ typedef enum {
|
@@ -1000,6 +1000,31 @@ typedef enum {
|
||||||
*/
|
*/
|
||||||
# define VIR_MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT "auto_converge.increment"
|
# define VIR_MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT "auto_converge.increment"
|
||||||
@ -52,11 +52,11 @@ Index: libvirt-2.5.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-2.5.0/src/libxl/libxl_driver.c
|
Index: libvirt-3.0.0/src/libxl/libxl_driver.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/libxl/libxl_driver.c
|
--- libvirt-3.0.0.orig/src/libxl/libxl_driver.c
|
||||||
+++ libvirt-2.5.0/src/libxl/libxl_driver.c
|
+++ libvirt-3.0.0/src/libxl/libxl_driver.c
|
||||||
@@ -6047,6 +6047,9 @@ libxlDomainMigratePerform3Params(virDoma
|
@@ -6056,6 +6056,9 @@ libxlDomainMigratePerform3Params(virDoma
|
||||||
const char *dname = NULL;
|
const char *dname = NULL;
|
||||||
const char *uri = NULL;
|
const char *uri = NULL;
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
@ -66,7 +66,7 @@ Index: libvirt-2.5.0/src/libxl/libxl_driver.c
|
|||||||
|
|
||||||
#ifdef LIBXL_HAVE_NO_SUSPEND_RESUME
|
#ifdef LIBXL_HAVE_NO_SUSPEND_RESUME
|
||||||
virReportUnsupportedError();
|
virReportUnsupportedError();
|
||||||
@@ -6063,6 +6066,18 @@ libxlDomainMigratePerform3Params(virDoma
|
@@ -6072,6 +6075,18 @@ libxlDomainMigratePerform3Params(virDoma
|
||||||
virTypedParamsGetString(params, nparams,
|
virTypedParamsGetString(params, nparams,
|
||||||
VIR_MIGRATE_PARAM_DEST_NAME,
|
VIR_MIGRATE_PARAM_DEST_NAME,
|
||||||
&dname) < 0 ||
|
&dname) < 0 ||
|
||||||
@ -85,7 +85,7 @@ Index: libvirt-2.5.0/src/libxl/libxl_driver.c
|
|||||||
virTypedParamsGetString(params, nparams,
|
virTypedParamsGetString(params, nparams,
|
||||||
VIR_MIGRATE_PARAM_URI,
|
VIR_MIGRATE_PARAM_URI,
|
||||||
&uri) < 0)
|
&uri) < 0)
|
||||||
@@ -6077,11 +6092,11 @@ libxlDomainMigratePerform3Params(virDoma
|
@@ -6086,11 +6101,11 @@ libxlDomainMigratePerform3Params(virDoma
|
||||||
|
|
||||||
if (flags & VIR_MIGRATE_PEER2PEER) {
|
if (flags & VIR_MIGRATE_PEER2PEER) {
|
||||||
if (libxlDomainMigrationPerformP2P(driver, vm, dom->conn, dom_xml,
|
if (libxlDomainMigrationPerformP2P(driver, vm, dom->conn, dom_xml,
|
||||||
@ -99,10 +99,10 @@ Index: libvirt-2.5.0/src/libxl/libxl_driver.c
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
Index: libvirt-2.5.0/src/libxl/libxl_migration.c
|
Index: libvirt-3.0.0/src/libxl/libxl_migration.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/libxl/libxl_migration.c
|
--- libvirt-3.0.0.orig/src/libxl/libxl_migration.c
|
||||||
+++ libvirt-2.5.0/src/libxl/libxl_migration.c
|
+++ libvirt-3.0.0/src/libxl/libxl_migration.c
|
||||||
@@ -358,18 +358,39 @@ libxlMigrateReceive(virNetSocketPtr sock
|
@@ -358,18 +358,39 @@ libxlMigrateReceive(virNetSocketPtr sock
|
||||||
static int
|
static int
|
||||||
libxlDoMigrateSend(libxlDriverPrivatePtr driver,
|
libxlDoMigrateSend(libxlDriverPrivatePtr driver,
|
||||||
@ -217,10 +217,10 @@ Index: libvirt-2.5.0/src/libxl/libxl_migration.c
|
|||||||
virObjectLock(vm);
|
virObjectLock(vm);
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
Index: libvirt-2.5.0/src/libxl/libxl_migration.h
|
Index: libvirt-3.0.0/src/libxl/libxl_migration.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/libxl/libxl_migration.h
|
--- libvirt-3.0.0.orig/src/libxl/libxl_migration.h
|
||||||
+++ libvirt-2.5.0/src/libxl/libxl_migration.h
|
+++ libvirt-3.0.0/src/libxl/libxl_migration.h
|
||||||
@@ -38,6 +38,10 @@
|
@@ -38,6 +38,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, \
|
||||||
@ -265,11 +265,11 @@ Index: libvirt-2.5.0/src/libxl/libxl_migration.h
|
|||||||
|
|
||||||
virDomainPtr
|
virDomainPtr
|
||||||
libxlDomainMigrationFinish(virConnectPtr dconn,
|
libxlDomainMigrationFinish(virConnectPtr dconn,
|
||||||
Index: libvirt-2.5.0/tools/virsh-domain.c
|
Index: libvirt-3.0.0/tools/virsh-domain.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/tools/virsh-domain.c
|
--- libvirt-3.0.0.orig/tools/virsh-domain.c
|
||||||
+++ libvirt-2.5.0/tools/virsh-domain.c
|
+++ libvirt-3.0.0/tools/virsh-domain.c
|
||||||
@@ -10109,6 +10109,22 @@ static const vshCmdOptDef opts_migrate[]
|
@@ -10135,6 +10135,22 @@ static const vshCmdOptDef opts_migrate[]
|
||||||
.type = VSH_OT_STRING,
|
.type = VSH_OT_STRING,
|
||||||
.help = N_("filename containing updated persistent XML for the target")
|
.help = N_("filename containing updated persistent XML for the target")
|
||||||
},
|
},
|
||||||
@ -292,7 +292,7 @@ Index: libvirt-2.5.0/tools/virsh-domain.c
|
|||||||
{.name = NULL}
|
{.name = NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -10132,6 +10148,7 @@ doMigrate(void *opaque)
|
@@ -10158,6 +10174,7 @@ doMigrate(void *opaque)
|
||||||
unsigned long long ullOpt = 0;
|
unsigned long long ullOpt = 0;
|
||||||
int rv;
|
int rv;
|
||||||
virConnectPtr dconn = data->dconn;
|
virConnectPtr dconn = data->dconn;
|
||||||
@ -300,7 +300,7 @@ Index: libvirt-2.5.0/tools/virsh-domain.c
|
|||||||
|
|
||||||
sigemptyset(&sigmask);
|
sigemptyset(&sigmask);
|
||||||
sigaddset(&sigmask, SIGINT);
|
sigaddset(&sigmask, SIGINT);
|
||||||
@@ -10251,6 +10268,27 @@ doMigrate(void *opaque)
|
@@ -10277,6 +10294,27 @@ doMigrate(void *opaque)
|
||||||
goto save_error;
|
goto save_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -328,11 +328,11 @@ Index: libvirt-2.5.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-2.5.0/tools/virsh.pod
|
Index: libvirt-3.0.0/tools/virsh.pod
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/tools/virsh.pod
|
--- libvirt-3.0.0.orig/tools/virsh.pod
|
||||||
+++ libvirt-2.5.0/tools/virsh.pod
|
+++ libvirt-3.0.0/tools/virsh.pod
|
||||||
@@ -1706,6 +1706,14 @@ compression. I<--comp-mt-threads> and I<
|
@@ -1709,6 +1709,14 @@ compression. I<--comp-mt-threads> and I<
|
||||||
of compress threads on source and the number of decompress threads on target
|
of compress threads on source and the number of decompress threads on target
|
||||||
respectively. I<--comp-xbzrle-cache> sets size of page cache in bytes.
|
respectively. I<--comp-xbzrle-cache> sets size of page cache in bytes.
|
||||||
|
|
||||||
|
@ -7,11 +7,11 @@ and npiv.
|
|||||||
|
|
||||||
For more details, see bsc#954872 and FATE#319810
|
For more details, see bsc#954872 and FATE#319810
|
||||||
|
|
||||||
Index: libvirt-2.5.0/src/libxl/libxl_conf.c
|
Index: libvirt-3.0.0/src/libxl/libxl_conf.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/libxl/libxl_conf.c
|
--- libvirt-3.0.0.orig/src/libxl/libxl_conf.c
|
||||||
+++ libvirt-2.5.0/src/libxl/libxl_conf.c
|
+++ libvirt-3.0.0/src/libxl/libxl_conf.c
|
||||||
@@ -584,6 +584,25 @@ libxlDiskSetDiscard(libxl_device_disk *x
|
@@ -583,6 +583,25 @@ libxlDiskSetDiscard(libxl_device_disk *x
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ Index: libvirt-2.5.0/src/libxl/libxl_conf.c
|
|||||||
static void
|
static void
|
||||||
libxlDiskSetCacheMode(libxl_device_disk *x_disk, int cachemode)
|
libxlDiskSetCacheMode(libxl_device_disk *x_disk, int cachemode)
|
||||||
{
|
{
|
||||||
@@ -728,6 +747,7 @@ libxlMakeNetworkDiskSrc(virStorageSource
|
@@ -727,6 +746,7 @@ libxlMakeNetworkDiskSrc(virStorageSource
|
||||||
int
|
int
|
||||||
libxlMakeDisk(virDomainDiskDefPtr l_disk, libxl_device_disk *x_disk)
|
libxlMakeDisk(virDomainDiskDefPtr l_disk, libxl_device_disk *x_disk)
|
||||||
{
|
{
|
||||||
@ -45,7 +45,7 @@ Index: libvirt-2.5.0/src/libxl/libxl_conf.c
|
|||||||
const char *driver = virDomainDiskGetDriver(l_disk);
|
const char *driver = virDomainDiskGetDriver(l_disk);
|
||||||
int format = virDomainDiskGetFormat(l_disk);
|
int format = virDomainDiskGetFormat(l_disk);
|
||||||
int actual_type = virStorageSourceGetActualType(l_disk->src);
|
int actual_type = virStorageSourceGetActualType(l_disk->src);
|
||||||
@@ -743,7 +763,7 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk
|
@@ -742,7 +762,7 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk
|
||||||
if (libxlMakeNetworkDiskSrc(l_disk->src, &x_disk->pdev_path) < 0)
|
if (libxlMakeNetworkDiskSrc(l_disk->src, &x_disk->pdev_path) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
} else {
|
} else {
|
||||||
@ -54,7 +54,7 @@ Index: libvirt-2.5.0/src/libxl/libxl_conf.c
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -851,6 +871,9 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk
|
@@ -861,6 +881,9 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk
|
||||||
if (libxlDiskSetDiscard(x_disk, l_disk->discard) < 0)
|
if (libxlDiskSetDiscard(x_disk, l_disk->discard) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
libxlDiskSetCacheMode(x_disk, l_disk->cachemode);
|
libxlDiskSetCacheMode(x_disk, l_disk->cachemode);
|
||||||
|
@ -13,11 +13,11 @@ device with the same name that is being created.
|
|||||||
src/lxc/lxc_process.c | 1 +
|
src/lxc/lxc_process.c | 1 +
|
||||||
3 files changed, 4 insertions(+)
|
3 files changed, 4 insertions(+)
|
||||||
|
|
||||||
Index: libvirt-2.5.0/src/lxc/lxc_controller.c
|
Index: libvirt-3.0.0/src/lxc/lxc_controller.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/lxc/lxc_controller.c
|
--- libvirt-3.0.0.orig/src/lxc/lxc_controller.c
|
||||||
+++ libvirt-2.5.0/src/lxc/lxc_controller.c
|
+++ libvirt-3.0.0/src/lxc/lxc_controller.c
|
||||||
@@ -2009,6 +2009,7 @@ static int virLXCControllerDeleteInterfa
|
@@ -1997,6 +1997,7 @@ static int virLXCControllerDeleteInterfa
|
||||||
if (virNetDevVethDelete(ctrl->veths[i]) < 0)
|
if (virNetDevVethDelete(ctrl->veths[i]) < 0)
|
||||||
ret = -1;
|
ret = -1;
|
||||||
}
|
}
|
||||||
@ -25,11 +25,11 @@ Index: libvirt-2.5.0/src/lxc/lxc_controller.c
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
Index: libvirt-2.5.0/src/lxc/lxc_driver.c
|
Index: libvirt-3.0.0/src/lxc/lxc_driver.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/lxc/lxc_driver.c
|
--- libvirt-3.0.0.orig/src/lxc/lxc_driver.c
|
||||||
+++ libvirt-2.5.0/src/lxc/lxc_driver.c
|
+++ libvirt-3.0.0/src/lxc/lxc_driver.c
|
||||||
@@ -4034,6 +4034,7 @@ lxcDomainAttachDeviceNetLive(virConnectP
|
@@ -4036,6 +4036,7 @@ lxcDomainAttachDeviceNetLive(virConnectP
|
||||||
case VIR_DOMAIN_NET_TYPE_NETWORK:
|
case VIR_DOMAIN_NET_TYPE_NETWORK:
|
||||||
case VIR_DOMAIN_NET_TYPE_ETHERNET:
|
case VIR_DOMAIN_NET_TYPE_ETHERNET:
|
||||||
ignore_value(virNetDevVethDelete(veth));
|
ignore_value(virNetDevVethDelete(veth));
|
||||||
@ -37,7 +37,7 @@ Index: libvirt-2.5.0/src/lxc/lxc_driver.c
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case VIR_DOMAIN_NET_TYPE_DIRECT:
|
case VIR_DOMAIN_NET_TYPE_DIRECT:
|
||||||
@@ -4468,6 +4469,7 @@ lxcDomainDetachDeviceNetLive(virDomainOb
|
@@ -4470,6 +4471,7 @@ lxcDomainDetachDeviceNetLive(virDomainOb
|
||||||
virDomainAuditNet(vm, detach, NULL, "detach", false);
|
virDomainAuditNet(vm, detach, NULL, "detach", false);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
@ -45,10 +45,10 @@ Index: libvirt-2.5.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-2.5.0/src/lxc/lxc_process.c
|
Index: libvirt-3.0.0/src/lxc/lxc_process.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/lxc/lxc_process.c
|
--- libvirt-3.0.0.orig/src/lxc/lxc_process.c
|
||||||
+++ libvirt-2.5.0/src/lxc/lxc_process.c
|
+++ libvirt-3.0.0/src/lxc/lxc_process.c
|
||||||
@@ -221,6 +221,7 @@ static void virLXCProcessCleanup(virLXCD
|
@@ -221,6 +221,7 @@ static void virLXCProcessCleanup(virLXCD
|
||||||
}
|
}
|
||||||
networkReleaseActualDevice(vm->def, iface);
|
networkReleaseActualDevice(vm->def, iface);
|
||||||
|
@ -2,10 +2,10 @@ Canonicalize hostarch name ppc64le to ppc64
|
|||||||
|
|
||||||
See bnc#894956
|
See bnc#894956
|
||||||
|
|
||||||
Index: libvirt-2.5.0/src/util/virarch.c
|
Index: libvirt-3.0.0/src/util/virarch.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/util/virarch.c
|
--- libvirt-3.0.0.orig/src/util/virarch.c
|
||||||
+++ libvirt-2.5.0/src/util/virarch.c
|
+++ libvirt-3.0.0/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")) {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Index: libvirt-2.5.0/examples/apparmor/libvirt-qemu
|
Index: libvirt-3.0.0/examples/apparmor/libvirt-qemu
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/examples/apparmor/libvirt-qemu
|
--- libvirt-3.0.0.orig/examples/apparmor/libvirt-qemu
|
||||||
+++ libvirt-2.5.0/examples/apparmor/libvirt-qemu
|
+++ libvirt-3.0.0/examples/apparmor/libvirt-qemu
|
||||||
@@ -151,3 +151,6 @@
|
@@ -154,3 +154,6 @@
|
||||||
/etc/udev/udev.conf r,
|
/etc/udev/udev.conf r,
|
||||||
/sys/bus/ r,
|
/sys/bus/ r,
|
||||||
/sys/class/ r,
|
/sys/class/ r,
|
||||||
|
29
qemu-disable-namespaces.patch
Normal file
29
qemu-disable-namespaces.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
commit eaa2043dee8b8ada7b0b80c9b5b0b0db575a4abf
|
||||||
|
Author: Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
Date: Wed Jan 18 10:49:59 2017 +0000
|
||||||
|
|
||||||
|
Disable use of namespaces by default
|
||||||
|
|
||||||
|
When namespaces are enabled there is currently breakage when
|
||||||
|
using disk hotplug and when using AppArmor
|
||||||
|
|
||||||
|
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
Index: libvirt-3.0.0/src/qemu/qemu_conf.c
|
||||||
|
===================================================================
|
||||||
|
--- libvirt-3.0.0.orig/src/qemu/qemu_conf.c
|
||||||
|
+++ libvirt-3.0.0/src/qemu/qemu_conf.c
|
||||||
|
@@ -317,13 +317,6 @@ virQEMUDriverConfigPtr virQEMUDriverConf
|
||||||
|
if (!(cfg->namespaces = virBitmapNew(QEMU_DOMAIN_NS_LAST)))
|
||||||
|
goto error;
|
||||||
|
|
||||||
|
-#if defined(__linux__)
|
||||||
|
- if (privileged &&
|
||||||
|
- virProcessNamespaceAvailable(VIR_PROCESS_NAMESPACE_MNT) == 0 &&
|
||||||
|
- virBitmapSetBit(cfg->namespaces, QEMU_DOMAIN_NS_MOUNT) < 0)
|
||||||
|
- goto error;
|
||||||
|
-#endif /* defined(__linux__) */
|
||||||
|
-
|
||||||
|
#ifdef DEFAULT_LOADER_NVRAM
|
||||||
|
if (virFirmwareParseList(DEFAULT_LOADER_NVRAM,
|
||||||
|
&cfg->firmwares,
|
@ -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-2.5.0/src/xenconfig/xen_common.c
|
Index: libvirt-3.0.0/src/xenconfig/xen_common.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/xenconfig/xen_common.c
|
--- libvirt-3.0.0.orig/src/xenconfig/xen_common.c
|
||||||
+++ libvirt-2.5.0/src/xenconfig/xen_common.c
|
+++ libvirt-3.0.0/src/xenconfig/xen_common.c
|
||||||
@@ -394,6 +394,8 @@ xenParsePCI(virConfPtr conf, virDomainDe
|
@@ -394,6 +394,8 @@ xenParsePCI(virConfPtr conf, virDomainDe
|
||||||
{
|
{
|
||||||
virConfValuePtr list = virConfGetValue(conf, "pci");
|
virConfValuePtr list = virConfGetValue(conf, "pci");
|
||||||
@ -66,10 +66,10 @@ Index: libvirt-2.5.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-2.5.0/src/xenconfig/xen_sxpr.c
|
Index: libvirt-3.0.0/src/xenconfig/xen_sxpr.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/xenconfig/xen_sxpr.c
|
--- libvirt-3.0.0.orig/src/xenconfig/xen_sxpr.c
|
||||||
+++ libvirt-2.5.0/src/xenconfig/xen_sxpr.c
|
+++ libvirt-3.0.0/src/xenconfig/xen_sxpr.c
|
||||||
@@ -1062,6 +1062,7 @@ xenParseSxprPCI(virDomainDefPtr def,
|
@@ -1062,6 +1062,7 @@ xenParseSxprPCI(virDomainDefPtr def,
|
||||||
int busID;
|
int busID;
|
||||||
int slotID;
|
int slotID;
|
||||||
|
@ -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-2.5.0/src/qemu/qemu.conf
|
Index: libvirt-3.0.0/src/qemu/qemu.conf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/qemu/qemu.conf
|
--- libvirt-3.0.0.orig/src/qemu/qemu.conf
|
||||||
+++ libvirt-2.5.0/src/qemu/qemu.conf
|
+++ libvirt-3.0.0/src/qemu/qemu.conf
|
||||||
@@ -283,11 +283,20 @@
|
@@ -283,11 +283,20 @@
|
||||||
# isolation, but it cannot appear in a list of drivers.
|
# isolation, but it cannot appear in a list of drivers.
|
||||||
#
|
#
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: libvirt-2.5.0/daemon/libvirtd.service.in
|
Index: libvirt-3.0.0/daemon/libvirtd.service.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/daemon/libvirtd.service.in
|
--- libvirt-3.0.0.orig/daemon/libvirtd.service.in
|
||||||
+++ libvirt-2.5.0/daemon/libvirtd.service.in
|
+++ libvirt-3.0.0/daemon/libvirtd.service.in
|
||||||
@@ -13,6 +13,7 @@ After=iscsid.service
|
@@ -13,6 +13,7 @@ After=iscsid.service
|
||||||
After=apparmor.service
|
After=apparmor.service
|
||||||
After=local-fs.target
|
After=local-fs.target
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
Adjust virtlockd init files to conform to SUSE standards
|
Adjust virtlockd init files to conform to SUSE standards
|
||||||
|
|
||||||
Index: libvirt-2.5.0/src/locking/virtlockd.sysconf
|
Index: libvirt-3.0.0/src/locking/virtlockd.sysconf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/locking/virtlockd.sysconf
|
--- libvirt-3.0.0.orig/src/locking/virtlockd.sysconf
|
||||||
+++ libvirt-2.5.0/src/locking/virtlockd.sysconf
|
+++ libvirt-3.0.0/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-2.5.0/src/locking/virtlockd.sysconf
|
|||||||
#
|
#
|
||||||
# Pass extra arguments to virtlockd
|
# Pass extra arguments to virtlockd
|
||||||
#VIRTLOCKD_ARGS=
|
#VIRTLOCKD_ARGS=
|
||||||
Index: libvirt-2.5.0/src/locking/virtlockd.init.in
|
Index: libvirt-3.0.0/src/locking/virtlockd.init.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/locking/virtlockd.init.in
|
--- libvirt-3.0.0.orig/src/locking/virtlockd.init.in
|
||||||
+++ libvirt-2.5.0/src/locking/virtlockd.init.in
|
+++ libvirt-3.0.0/src/locking/virtlockd.init.in
|
||||||
@@ -4,59 +4,57 @@
|
@@ -4,59 +4,57 @@
|
||||||
# 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
|
||||||
#
|
#
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
Adjust virtlogd init files to conform to SUSE standards
|
Adjust virtlogd init files to conform to SUSE standards
|
||||||
|
|
||||||
Index: libvirt-2.5.0/src/logging/virtlogd.init.in
|
Index: libvirt-3.0.0/src/logging/virtlogd.init.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/logging/virtlogd.init.in
|
--- libvirt-3.0.0.orig/src/logging/virtlogd.init.in
|
||||||
+++ libvirt-2.5.0/src/logging/virtlogd.init.in
|
+++ libvirt-3.0.0/src/logging/virtlogd.init.in
|
||||||
@@ -4,59 +4,56 @@
|
@@ -4,59 +4,56 @@
|
||||||
# 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
|
||||||
#
|
#
|
||||||
@ -126,10 +126,10 @@ Index: libvirt-2.5.0/src/logging/virtlogd.init.in
|
|||||||
esac
|
esac
|
||||||
-exit $RETVAL
|
-exit $RETVAL
|
||||||
+rc_exit
|
+rc_exit
|
||||||
Index: libvirt-2.5.0/src/logging/virtlogd.sysconf
|
Index: libvirt-3.0.0/src/logging/virtlogd.sysconf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/logging/virtlogd.sysconf
|
--- libvirt-3.0.0.orig/src/logging/virtlogd.sysconf
|
||||||
+++ libvirt-2.5.0/src/logging/virtlogd.sysconf
|
+++ libvirt-3.0.0/src/logging/virtlogd.sysconf
|
||||||
@@ -1,3 +1,7 @@
|
@@ -1,3 +1,7 @@
|
||||||
+## Path: System/Virtualization/virtlogd
|
+## Path: System/Virtualization/virtlogd
|
||||||
+
|
+
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: libvirt-2.5.0/src/xenconfig/xen_sxpr.c
|
Index: libvirt-3.0.0/src/xenconfig/xen_sxpr.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/xenconfig/xen_sxpr.c
|
--- libvirt-3.0.0.orig/src/xenconfig/xen_sxpr.c
|
||||||
+++ libvirt-2.5.0/src/xenconfig/xen_sxpr.c
|
+++ libvirt-3.0.0/src/xenconfig/xen_sxpr.c
|
||||||
@@ -392,7 +392,7 @@ xenParseSxprVifRate(const char *rate, un
|
@@ -392,7 +392,7 @@ xenParseSxprVifRate(const char *rate, un
|
||||||
static int
|
static int
|
||||||
xenParseSxprDisks(virDomainDefPtr def,
|
xenParseSxprDisks(virDomainDefPtr def,
|
||||||
|
@ -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-2.5.0/src/xenconfig/xen_sxpr.c
|
Index: libvirt-3.0.0/src/xenconfig/xen_sxpr.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-2.5.0.orig/src/xenconfig/xen_sxpr.c
|
--- libvirt-3.0.0.orig/src/xenconfig/xen_sxpr.c
|
||||||
+++ libvirt-2.5.0/src/xenconfig/xen_sxpr.c
|
+++ libvirt-3.0.0/src/xenconfig/xen_sxpr.c
|
||||||
@@ -506,10 +506,11 @@ xenParseSxprDisks(virDomainDefPtr def,
|
@@ -506,10 +506,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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user