forked from pool/libvirt
Accepting request 314914 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.17 - parallels driver renamed to vz (Virtuozzo) - Many incremental improvements and bug fixes, see http://libvirt.org/news.html - spec: re-enable tests that have received upstream fixes and are now passing OBS-URL: https://build.opensuse.org/request/show/314914 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=468
This commit is contained in:
parent
8720257f58
commit
57e1254dfd
@ -1,7 +1,7 @@
|
|||||||
Index: libvirt-1.2.16/examples/apparmor/libvirt-qemu
|
Index: libvirt-1.2.17/examples/apparmor/libvirt-qemu
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/examples/apparmor/libvirt-qemu
|
--- libvirt-1.2.17.orig/examples/apparmor/libvirt-qemu
|
||||||
+++ libvirt-1.2.16/examples/apparmor/libvirt-qemu
|
+++ libvirt-1.2.17/examples/apparmor/libvirt-qemu
|
||||||
@@ -124,6 +124,9 @@
|
@@ -124,6 +124,9 @@
|
||||||
# for restore
|
# for restore
|
||||||
/bin/bash rmix,
|
/bin/bash rmix,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: libvirt-1.2.16/examples/apparmor/libvirt-lxc
|
Index: libvirt-1.2.17/examples/apparmor/libvirt-lxc
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/examples/apparmor/libvirt-lxc
|
--- libvirt-1.2.17.orig/examples/apparmor/libvirt-lxc
|
||||||
+++ libvirt-1.2.16/examples/apparmor/libvirt-lxc
|
+++ libvirt-1.2.17/examples/apparmor/libvirt-lxc
|
||||||
@@ -2,39 +2,15 @@
|
@@ -2,39 +2,15 @@
|
||||||
|
|
||||||
#include <abstractions/base>
|
#include <abstractions/base>
|
||||||
|
@ -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.16/src/qemu/qemu_driver.c
|
Index: libvirt-1.2.17/src/qemu/qemu_driver.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/src/qemu/qemu_driver.c
|
--- libvirt-1.2.17.orig/src/qemu/qemu_driver.c
|
||||||
+++ libvirt-1.2.16/src/qemu/qemu_driver.c
|
+++ libvirt-1.2.17/src/qemu/qemu_driver.c
|
||||||
@@ -16993,6 +16993,15 @@ qemuDomainBlockCopyCommon(virDomainObjPt
|
@@ -16684,6 +16684,15 @@ qemuDomainBlockCopyCommon(virDomainObjPt
|
||||||
_("non-file destination not supported yet"));
|
_("non-file destination not supported yet"));
|
||||||
goto endjob;
|
goto endjob;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: libvirt-1.2.16/tests/vircgrouptest.c
|
Index: libvirt-1.2.17/tests/vircgrouptest.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/tests/vircgrouptest.c
|
--- libvirt-1.2.17.orig/tests/vircgrouptest.c
|
||||||
+++ libvirt-1.2.16/tests/vircgrouptest.c
|
+++ libvirt-1.2.17/tests/vircgrouptest.c
|
||||||
@@ -34,7 +34,6 @@
|
@@ -34,7 +34,6 @@
|
||||||
# include "virfile.h"
|
# include "virfile.h"
|
||||||
# include "virbuffer.h"
|
# include "virbuffer.h"
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:419bee553442024b9ee8a1fa94023b1189bb52b7c3021fa37d8e4c108490060d
|
|
||||||
size 29157627
|
|
@ -1,7 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v1
|
|
||||||
|
|
||||||
iEYEABECAAYFAlVrxCsACgkQRga4pd6VvB9/SACfTRAvdCSH06+3RROrlKSNz7+P
|
|
||||||
2mgAnjcvia90gZinoVxUER/hA4v/fkND
|
|
||||||
=KdhP
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
libvirt-1.2.17.tar.gz
Normal file
3
libvirt-1.2.17.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e07eaf20b0590fae05ba3b53ad4dac3e5fbd771437563cc78b692f23ddd02fad
|
||||||
|
size 29320317
|
7
libvirt-1.2.17.tar.gz.asc
Normal file
7
libvirt-1.2.17.tar.gz.asc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v1
|
||||||
|
|
||||||
|
iEYEABECAAYFAlWUy+AACgkQRga4pd6VvB9AhACfT/hThYm7biG8nwcDkOHEuS8B
|
||||||
|
7AEAn1v3VdAwinxah46RWLiDdVtScU84
|
||||||
|
=BcWI
|
||||||
|
-----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-1.2.16/tools/libvirt-guests.init.in
|
Index: libvirt-1.2.17/tools/libvirt-guests.init.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/tools/libvirt-guests.init.in
|
--- libvirt-1.2.17.orig/tools/libvirt-guests.init.in
|
||||||
+++ libvirt-1.2.16/tools/libvirt-guests.init.in
|
+++ libvirt-1.2.17/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.16/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.16/tools/libvirt-guests.sh.in
|
Index: libvirt-1.2.17/tools/libvirt-guests.sh.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/tools/libvirt-guests.sh.in
|
--- libvirt-1.2.17.orig/tools/libvirt-guests.sh.in
|
||||||
+++ libvirt-1.2.16/tools/libvirt-guests.sh.in
|
+++ libvirt-1.2.17/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/>.
|
||||||
@ -191,10 +191,10 @@ Index: libvirt-1.2.16/tools/libvirt-guests.sh.in
|
|||||||
esac
|
esac
|
||||||
-exit $RETVAL
|
-exit $RETVAL
|
||||||
+rc_exit
|
+rc_exit
|
||||||
Index: libvirt-1.2.16/tools/libvirt-guests.sysconf
|
Index: libvirt-1.2.17/tools/libvirt-guests.sysconf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/tools/libvirt-guests.sysconf
|
--- libvirt-1.2.17.orig/tools/libvirt-guests.sysconf
|
||||||
+++ libvirt-1.2.16/tools/libvirt-guests.sysconf
|
+++ libvirt-1.2.17/tools/libvirt-guests.sysconf
|
||||||
@@ -1,19 +1,29 @@
|
@@ -1,19 +1,29 @@
|
||||||
+## Path: System/Virtualization/libvirt-guests
|
+## Path: System/Virtualization/libvirt-guests
|
||||||
+
|
+
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: libvirt-1.2.16/src/cpu/cpu_map.xml
|
Index: libvirt-1.2.17/src/cpu/cpu_map.xml
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/src/cpu/cpu_map.xml
|
--- libvirt-1.2.17.orig/src/cpu/cpu_map.xml
|
||||||
+++ libvirt-1.2.16/src/cpu/cpu_map.xml
|
+++ libvirt-1.2.17/src/cpu/cpu_map.xml
|
||||||
@@ -668,6 +668,16 @@
|
@@ -668,6 +668,16 @@
|
||||||
<pvr value='0x004d0000'/>
|
<pvr value='0x004d0000'/>
|
||||||
</model>
|
</model>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Index: libvirt-1.2.16/configure.ac
|
Index: libvirt-1.2.17/configure.ac
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/configure.ac
|
--- libvirt-1.2.17.orig/configure.ac
|
||||||
+++ libvirt-1.2.16/configure.ac
|
+++ libvirt-1.2.17/configure.ac
|
||||||
@@ -237,6 +237,7 @@ LIBVIRT_CHECK_FUSE
|
@@ -241,6 +241,7 @@ LIBVIRT_CHECK_FUSE
|
||||||
LIBVIRT_CHECK_GLUSTER
|
LIBVIRT_CHECK_GLUSTER
|
||||||
LIBVIRT_CHECK_HAL
|
LIBVIRT_CHECK_HAL
|
||||||
LIBVIRT_CHECK_NETCF
|
LIBVIRT_CHECK_NETCF
|
||||||
@ -10,7 +10,7 @@ Index: libvirt-1.2.16/configure.ac
|
|||||||
LIBVIRT_CHECK_NUMACTL
|
LIBVIRT_CHECK_NUMACTL
|
||||||
LIBVIRT_CHECK_OPENWSMAN
|
LIBVIRT_CHECK_OPENWSMAN
|
||||||
LIBVIRT_CHECK_PCIACCESS
|
LIBVIRT_CHECK_PCIACCESS
|
||||||
@@ -2495,11 +2496,12 @@ if test "$with_libvirtd" = "no" ; then
|
@@ -2492,11 +2493,12 @@ if test "$with_libvirtd" = "no" ; then
|
||||||
with_interface=no
|
with_interface=no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ Index: libvirt-1.2.16/configure.ac
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
if test "$with_interface" = "yes" ; then
|
if test "$with_interface" = "yes" ; then
|
||||||
@@ -2887,6 +2889,7 @@ LIBVIRT_RESULT_FUSE
|
@@ -2885,6 +2887,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.16/configure.ac
|
|||||||
LIBVIRT_RESULT_NUMACTL
|
LIBVIRT_RESULT_NUMACTL
|
||||||
LIBVIRT_RESULT_OPENWSMAN
|
LIBVIRT_RESULT_OPENWSMAN
|
||||||
LIBVIRT_RESULT_PCIACCESS
|
LIBVIRT_RESULT_PCIACCESS
|
||||||
Index: libvirt-1.2.16/src/Makefile.am
|
Index: libvirt-1.2.17/src/Makefile.am
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/src/Makefile.am
|
--- libvirt-1.2.17.orig/src/Makefile.am
|
||||||
+++ libvirt-1.2.16/src/Makefile.am
|
+++ libvirt-1.2.17/src/Makefile.am
|
||||||
@@ -848,6 +848,10 @@ if WITH_NETCF
|
@@ -872,6 +872,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.16/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
|
||||||
@@ -1466,6 +1470,10 @@ if WITH_NETCF
|
@@ -1491,6 +1495,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,11 +60,11 @@ Index: libvirt-1.2.16/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-1.2.16/tools/virsh.c
|
Index: libvirt-1.2.17/tools/virsh.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/tools/virsh.c
|
--- libvirt-1.2.17.orig/tools/virsh.c
|
||||||
+++ libvirt-1.2.16/tools/virsh.c
|
+++ libvirt-1.2.17/tools/virsh.c
|
||||||
@@ -3327,6 +3327,8 @@ vshShowVersion(vshControl *ctl ATTRIBUTE
|
@@ -3383,6 +3383,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");
|
||||||
@ -73,10 +73,10 @@ Index: libvirt-1.2.16/tools/virsh.c
|
|||||||
# elif defined(WITH_UDEV)
|
# elif defined(WITH_UDEV)
|
||||||
vshPrint(ctl, " udev");
|
vshPrint(ctl, " udev");
|
||||||
# endif
|
# endif
|
||||||
Index: libvirt-1.2.16/src/interface/interface_backend_netcf.c
|
Index: libvirt-1.2.17/src/interface/interface_backend_netcf.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/src/interface/interface_backend_netcf.c
|
--- libvirt-1.2.17.orig/src/interface/interface_backend_netcf.c
|
||||||
+++ libvirt-1.2.16/src/interface/interface_backend_netcf.c
|
+++ libvirt-1.2.17/src/interface/interface_backend_netcf.c
|
||||||
@@ -23,7 +23,12 @@
|
@@ -23,7 +23,12 @@
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
@ -160,10 +160,10 @@ Index: libvirt-1.2.16/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-1.2.16/src/interface/interface_driver.c
|
Index: libvirt-1.2.17/src/interface/interface_driver.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/src/interface/interface_driver.c
|
--- libvirt-1.2.17.orig/src/interface/interface_driver.c
|
||||||
+++ libvirt-1.2.16/src/interface/interface_driver.c
|
+++ libvirt-1.2.17/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,10 +181,10 @@ Index: libvirt-1.2.16/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.16/m4/virt-netcontrol.m4
|
Index: libvirt-1.2.17/m4/virt-netcontrol.m4
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ libvirt-1.2.16/m4/virt-netcontrol.m4
|
+++ libvirt-1.2.17/m4/virt-netcontrol.m4
|
||||||
@@ -0,0 +1,35 @@
|
@@ -0,0 +1,35 @@
|
||||||
+dnl The libnetcontrol library
|
+dnl The libnetcontrol library
|
||||||
+dnl
|
+dnl
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 2 11:23:15 MDT 2015 - jfehlig@suse.com
|
||||||
|
|
||||||
|
- Update to libvirt 1.2.17
|
||||||
|
- parallels driver renamed to vz (Virtuozzo)
|
||||||
|
- Many incremental improvements and bug fixes, see
|
||||||
|
http://libvirt.org/news.html
|
||||||
|
- spec: re-enable tests that have received upstream fixes and
|
||||||
|
are now passing
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 3 11:29:32 MDT 2015 - jfehlig@suse.com
|
Wed Jun 3 11:29:32 MDT 2015 - jfehlig@suse.com
|
||||||
|
|
||||||
|
36
libvirt.spec
36
libvirt.spec
@ -51,7 +51,7 @@
|
|||||||
%define with_esx 0%{!?_without_esx:1}
|
%define with_esx 0%{!?_without_esx:1}
|
||||||
%define with_hyperv 0%{!?_without_hyperv:0}
|
%define with_hyperv 0%{!?_without_hyperv:0}
|
||||||
%define with_xenapi 0%{!?_without_xenapi:1}
|
%define with_xenapi 0%{!?_without_xenapi:1}
|
||||||
%define with_parallels 0%{!?_without_parallels:1}
|
%define with_vz 0%{!?_without_vz:1}
|
||||||
|
|
||||||
# Then the secondary host drivers, which run inside libvirtd
|
# Then the secondary host drivers, which run inside libvirtd
|
||||||
%define with_interface 0%{!?_without_interface:%{server_drivers}}
|
%define with_interface 0%{!?_without_interface:%{server_drivers}}
|
||||||
@ -119,7 +119,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# SLES doesn't contain OpenVZ, VBox, UML, ESX, VMWare, Citrix XenAPI,
|
# SLES doesn't contain OpenVZ, VBox, UML, ESX, VMWare, Citrix XenAPI,
|
||||||
# or hyper-v
|
# hyper-v, or vz (Virtuozzo)
|
||||||
%if 0%{?sles_version}
|
%if 0%{?sles_version}
|
||||||
%define with_openvz 0
|
%define with_openvz 0
|
||||||
%define with_vbox 0
|
%define with_vbox 0
|
||||||
@ -128,7 +128,7 @@
|
|||||||
%define with_vmware 0
|
%define with_vmware 0
|
||||||
%define with_xenapi 0
|
%define with_xenapi 0
|
||||||
%define with_hyperv 0
|
%define with_hyperv 0
|
||||||
%define with_parallels 0
|
%define with_vz 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Enable phyp driver for IBM Power systems
|
# Enable phyp driver for IBM Power systems
|
||||||
@ -240,7 +240,7 @@
|
|||||||
|
|
||||||
Name: libvirt
|
Name: libvirt
|
||||||
Url: http://libvirt.org/
|
Url: http://libvirt.org/
|
||||||
Version: 1.2.16
|
Version: 1.2.17
|
||||||
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+
|
||||||
@ -1030,8 +1030,8 @@ Provides a dissector for the libvirt RPC protocol to help debugging it.
|
|||||||
%if ! %{with_hyperv}
|
%if ! %{with_hyperv}
|
||||||
%define _without_hyperv --without-hyperv
|
%define _without_hyperv --without-hyperv
|
||||||
%endif
|
%endif
|
||||||
%if ! %{with_parallels}
|
%if ! %{with_vz}
|
||||||
%define _without_parallels --without-parallels
|
%define _without_vz --without-vz
|
||||||
%endif
|
%endif
|
||||||
%if ! %{with_libxl}
|
%if ! %{with_libxl}
|
||||||
%define _without_libxl --without-libxl
|
%define _without_libxl --without-libxl
|
||||||
@ -1166,7 +1166,7 @@ export CFLAGS="$RPM_OPT_FLAGS"
|
|||||||
%{?_without_esx} \
|
%{?_without_esx} \
|
||||||
%{?_without_hyperv} \
|
%{?_without_hyperv} \
|
||||||
%{?_without_vmware} \
|
%{?_without_vmware} \
|
||||||
%{?_without_parallels} \
|
%{?_without_vz} \
|
||||||
%{?_without_interface} \
|
%{?_without_interface} \
|
||||||
%{?_without_network} \
|
%{?_without_network} \
|
||||||
%{?_without_storage_fs} \
|
%{?_without_storage_fs} \
|
||||||
@ -1233,6 +1233,10 @@ rm -rf $RPM_BUILD_ROOT/usr/share/locale/vi_VN
|
|||||||
%endif
|
%endif
|
||||||
# temporarily remove polkit ACL policiy configuration - bnc#827644
|
# temporarily remove polkit ACL policiy configuration - bnc#827644
|
||||||
rm -f $RPM_BUILD_ROOT/%{_datadir}/polkit-1/actions/org.libvirt.api.policy
|
rm -f $RPM_BUILD_ROOT/%{_datadir}/polkit-1/actions/org.libvirt.api.policy
|
||||||
|
|
||||||
|
# Until libvirt 1.3.0, follow upstream and remove libvirt-admin.so
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt-admin.so
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/libvirt
|
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/libvirt
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/libvirt/hooks
|
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/libvirt/hooks
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
@ -1359,26 +1363,21 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
cd tests
|
cd tests
|
||||||
make
|
SKIP_TESTS=""
|
||||||
# These tests don't current work in a mock build root
|
# These tests don't current work in a mock build root
|
||||||
# virnetsockettest: needs unsupported linux-user syscalls
|
# virnetsockettest: needs unsupported linux-user syscalls
|
||||||
EXTRA=""
|
SKIP_TESTS="$SKIP_TESTS virnetsockettest"
|
||||||
%if 0%{?qemu_user_space_build:1}
|
|
||||||
EXTRA="$EXTRA virnetsockettest"
|
|
||||||
%endif
|
|
||||||
# virportallocatortest fails on aarch64 due to unsupported IPV6_V6ONLY flag
|
# virportallocatortest fails on aarch64 due to unsupported IPV6_V6ONLY flag
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
EXTRA="$EXTRA virportallocatortest"
|
SKIP_TESTS="$SKIP_TESTS virportallocatortest"
|
||||||
%endif
|
%endif
|
||||||
# temporarily disable failing virt-aa-helper-test
|
for i in $SKIP_TESTS
|
||||||
EXTRA="$EXTRA virt-aa-helper-test"
|
|
||||||
for i in nodeinfotest seclabeltest $EXTRA
|
|
||||||
do
|
do
|
||||||
rm -f $i
|
rm -f $i
|
||||||
printf 'int main(void) { return 0; }' > $i.c
|
printf 'int main(void) { return 0; }' > $i.c
|
||||||
printf '#!/bin/sh\nexit 0\n' > $i
|
|
||||||
chmod +x $i
|
|
||||||
done
|
done
|
||||||
|
make
|
||||||
|
|
||||||
if ! make check VIR_TEST_DEBUG=1
|
if ! make check VIR_TEST_DEBUG=1
|
||||||
then
|
then
|
||||||
cat test-suite.log || true
|
cat test-suite.log || true
|
||||||
@ -1791,6 +1790,7 @@ fi
|
|||||||
%{_libdir}/libvirt.so.*
|
%{_libdir}/libvirt.so.*
|
||||||
%{_libdir}/libvirt-qemu.so.*
|
%{_libdir}/libvirt-qemu.so.*
|
||||||
%{_libdir}/libvirt-lxc.so.*
|
%{_libdir}/libvirt-lxc.so.*
|
||||||
|
%{_libdir}/libvirt-admin.so.*
|
||||||
%attr(0755, root, root) %{_libdir}/%{name}/libvirt-guests.sh
|
%attr(0755, root, root) %{_libdir}/%{name}/libvirt-guests.sh
|
||||||
%{_localstatedir}/adm/fillup-templates/sysconfig.libvirt-guests
|
%{_localstatedir}/adm/fillup-templates/sysconfig.libvirt-guests
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: libvirt-1.2.16/daemon/libvirtd.conf
|
Index: libvirt-1.2.17/daemon/libvirtd.conf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/daemon/libvirtd.conf
|
--- libvirt-1.2.17.orig/daemon/libvirtd.conf
|
||||||
+++ libvirt-1.2.16/daemon/libvirtd.conf
|
+++ libvirt-1.2.17/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.16/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.16/daemon/libvirtd-config.c
|
Index: libvirt-1.2.17/daemon/libvirtd-config.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/daemon/libvirtd-config.c
|
--- libvirt-1.2.17.orig/daemon/libvirtd-config.c
|
||||||
+++ libvirt-1.2.16/daemon/libvirtd-config.c
|
+++ libvirt-1.2.17/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.16/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.16/daemon/test_libvirtd.aug.in
|
Index: libvirt-1.2.17/daemon/test_libvirtd.aug.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/daemon/test_libvirtd.aug.in
|
--- libvirt-1.2.17.orig/daemon/test_libvirtd.aug.in
|
||||||
+++ libvirt-1.2.16/daemon/test_libvirtd.aug.in
|
+++ libvirt-1.2.17/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-1.2.16/daemon/libvirtd.sysconf
|
Index: libvirt-1.2.17/daemon/libvirtd.sysconf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/daemon/libvirtd.sysconf
|
--- libvirt-1.2.17.orig/daemon/libvirtd.sysconf
|
||||||
+++ libvirt-1.2.16/daemon/libvirtd.sysconf
|
+++ libvirt-1.2.17/daemon/libvirtd.sysconf
|
||||||
@@ -1,16 +1,25 @@
|
@@ -1,16 +1,25 @@
|
||||||
+## Path: System/Virtualization/libvirt
|
+## Path: System/Virtualization/libvirt
|
||||||
+
|
+
|
||||||
|
@ -9,10 +9,10 @@ as
|
|||||||
|
|
||||||
See bsc#933043
|
See bsc#933043
|
||||||
|
|
||||||
Index: libvirt-1.2.16/daemon/libvirtd.socket.in
|
Index: libvirt-1.2.17/daemon/libvirtd.socket.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/daemon/libvirtd.socket.in
|
--- libvirt-1.2.17.orig/daemon/libvirtd.socket.in
|
||||||
+++ libvirt-1.2.16/daemon/libvirtd.socket.in
|
+++ libvirt-1.2.17/daemon/libvirtd.socket.in
|
||||||
@@ -2,10 +2,8 @@
|
@@ -2,10 +2,8 @@
|
||||||
ListenStream=@runstatedir@/libvirt/libvirt-sock
|
ListenStream=@runstatedir@/libvirt/libvirt-sock
|
||||||
ListenStream=@runstatedir@/libvirt/libvirt-sock-ro
|
ListenStream=@runstatedir@/libvirt/libvirt-sock-ro
|
||||||
|
@ -2,10 +2,10 @@ Canonicalize hostarch name ppc64le to ppc64
|
|||||||
|
|
||||||
See bnc#894956
|
See bnc#894956
|
||||||
|
|
||||||
Index: libvirt-1.2.16/src/util/virarch.c
|
Index: libvirt-1.2.17/src/util/virarch.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/src/util/virarch.c
|
--- libvirt-1.2.17.orig/src/util/virarch.c
|
||||||
+++ libvirt-1.2.16/src/util/virarch.c
|
+++ libvirt-1.2.17/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,7 +1,7 @@
|
|||||||
Index: libvirt-1.2.16/examples/apparmor/libvirt-qemu
|
Index: libvirt-1.2.17/examples/apparmor/libvirt-qemu
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/examples/apparmor/libvirt-qemu
|
--- libvirt-1.2.17.orig/examples/apparmor/libvirt-qemu
|
||||||
+++ libvirt-1.2.16/examples/apparmor/libvirt-qemu
|
+++ libvirt-1.2.17/examples/apparmor/libvirt-qemu
|
||||||
@@ -133,6 +133,9 @@
|
@@ -133,6 +133,9 @@
|
||||||
/sys/bus/ r,
|
/sys/bus/ r,
|
||||||
/sys/class/ r,
|
/sys/class/ r,
|
||||||
|
@ -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.16/src/xenconfig/xen_common.c
|
Index: libvirt-1.2.17/src/xenconfig/xen_common.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/src/xenconfig/xen_common.c
|
--- libvirt-1.2.17.orig/src/xenconfig/xen_common.c
|
||||||
+++ libvirt-1.2.16/src/xenconfig/xen_common.c
|
+++ libvirt-1.2.17/src/xenconfig/xen_common.c
|
||||||
@@ -403,6 +403,8 @@ xenParsePCI(virConfPtr conf, virDomainDe
|
@@ -403,6 +403,8 @@ xenParsePCI(virConfPtr conf, virDomainDe
|
||||||
{
|
{
|
||||||
virConfValuePtr list = virConfGetValue(conf, "pci");
|
virConfValuePtr list = virConfGetValue(conf, "pci");
|
||||||
@ -66,10 +66,10 @@ Index: libvirt-1.2.16/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.16/src/xenconfig/xen_sxpr.c
|
Index: libvirt-1.2.17/src/xenconfig/xen_sxpr.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/src/xenconfig/xen_sxpr.c
|
--- libvirt-1.2.17.orig/src/xenconfig/xen_sxpr.c
|
||||||
+++ libvirt-1.2.16/src/xenconfig/xen_sxpr.c
|
+++ libvirt-1.2.17/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;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: libvirt-1.2.16/src/qemu/qemu.conf
|
Index: libvirt-1.2.17/src/qemu/qemu.conf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/src/qemu/qemu.conf
|
--- libvirt-1.2.17.orig/src/qemu/qemu.conf
|
||||||
+++ libvirt-1.2.16/src/qemu/qemu.conf
|
+++ libvirt-1.2.17/src/qemu/qemu.conf
|
||||||
@@ -201,11 +201,20 @@
|
@@ -201,11 +201,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-1.2.16/daemon/libvirtd.service.in
|
Index: libvirt-1.2.17/daemon/libvirtd.service.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/daemon/libvirtd.service.in
|
--- libvirt-1.2.17.orig/daemon/libvirtd.service.in
|
||||||
+++ libvirt-1.2.16/daemon/libvirtd.service.in
|
+++ libvirt-1.2.17/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
|
||||||
|
@ -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.16/src/locking/virtlockd.sysconf
|
Index: libvirt-1.2.17/src/locking/virtlockd.sysconf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/src/locking/virtlockd.sysconf
|
--- libvirt-1.2.17.orig/src/locking/virtlockd.sysconf
|
||||||
+++ libvirt-1.2.16/src/locking/virtlockd.sysconf
|
+++ libvirt-1.2.17/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.16/src/locking/virtlockd.sysconf
|
|||||||
#
|
#
|
||||||
# Pass extra arguments to virtlockd
|
# Pass extra arguments to virtlockd
|
||||||
#VIRTLOCKD_ARGS=
|
#VIRTLOCKD_ARGS=
|
||||||
Index: libvirt-1.2.16/src/locking/virtlockd.init.in
|
Index: libvirt-1.2.17/src/locking/virtlockd.init.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/src/locking/virtlockd.init.in
|
--- libvirt-1.2.17.orig/src/locking/virtlockd.init.in
|
||||||
+++ libvirt-1.2.16/src/locking/virtlockd.init.in
|
+++ libvirt-1.2.17/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
|
||||||
#
|
#
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: libvirt-1.2.16/src/xenconfig/xen_sxpr.c
|
Index: libvirt-1.2.17/src/xenconfig/xen_sxpr.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-1.2.16.orig/src/xenconfig/xen_sxpr.c
|
--- libvirt-1.2.17.orig/src/xenconfig/xen_sxpr.c
|
||||||
+++ libvirt-1.2.16/src/xenconfig/xen_sxpr.c
|
+++ libvirt-1.2.17/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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user