Accepting request 419115 from home:jfehlig:branches:Virtualization

- Update to libvirt 2.1.0
  - New subpackages libvirt-libs and libvirt-admin
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    c8f08e48-systemd-notify-fix.patch
- qemu: fix qemu.conf security_driver regression in 2.1.0 release
  856965b3-qemu-secdriver.patch

OBS-URL: https://build.opensuse.org/request/show/419115
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=562
This commit is contained in:
James Fehlig 2016-08-13 00:51:10 +00:00 committed by Git OBS Bridge
parent 4378d7fd11
commit e27e06d482
34 changed files with 262 additions and 246 deletions

View File

@ -0,0 +1,28 @@
commit 856965b36246b26002af409262846317477ea631
Author: Cole Robinson <crobinso@redhat.com>
Date: Wed Aug 10 10:32:03 2016 -0400
qemu: fix qemu.conf security_driver
Since a9331394 (first release v2.1.0), specifying a manual
security_driver setting in qemu.conf causes the daemon to fail to
start, erroring with 'Duplicate security driver X'.
The duplicate checking was incorrectly comparing every entry
against itself, guaranteeing a false positive.
https://bugzilla.redhat.com/show_bug.cgi?id=1365607
Index: libvirt-2.1.0/src/qemu/qemu_conf.c
===================================================================
--- libvirt-2.1.0.orig/src/qemu/qemu_conf.c
+++ libvirt-2.1.0/src/qemu/qemu_conf.c
@@ -431,7 +431,7 @@ int virQEMUDriverConfigLoadFile(virQEMUD
goto cleanup;
for (i = 0; cfg->securityDriverNames && cfg->securityDriverNames[i] != NULL; i++) {
- for (j = i; cfg->securityDriverNames[j] != NULL; j++) {
+ for (j = i + 1; cfg->securityDriverNames[j] != NULL; j++) {
if (STREQ(cfg->securityDriverNames[i],
cfg->securityDriverNames[j])) {
virReportError(VIR_ERR_CONF_SYNTAX,

View File

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

View File

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

View File

@ -10,11 +10,11 @@ from the qemu domain abstraction to the usr.sbin.libvirtd profile.
examples/apparmor/usr.sbin.libvirtd | 18 ++++++++++++++++++
2 files changed, 18 insertions(+), 19 deletions(-)
diff --git a/examples/apparmor/libvirt-qemu b/examples/apparmor/libvirt-qemu
index efb4873..11381d4 100644
--- a/examples/apparmor/libvirt-qemu
+++ b/examples/apparmor/libvirt-qemu
@@ -148,22 +148,3 @@
Index: libvirt-2.1.0/examples/apparmor/libvirt-qemu
===================================================================
--- libvirt-2.1.0.orig/examples/apparmor/libvirt-qemu
+++ libvirt-2.1.0/examples/apparmor/libvirt-qemu
@@ -151,22 +151,3 @@
/etc/udev/udev.conf r,
/sys/bus/ r,
/sys/class/ r,
@ -37,10 +37,10 @@ index efb4873..11381d4 100644
-
- /usr/{lib,libexec}/qemu-bridge-helper rmix,
- }
diff --git a/examples/apparmor/usr.sbin.libvirtd b/examples/apparmor/usr.sbin.libvirtd
index 23f70f5..48651b2 100644
--- a/examples/apparmor/usr.sbin.libvirtd
+++ b/examples/apparmor/usr.sbin.libvirtd
Index: libvirt-2.1.0/examples/apparmor/usr.sbin.libvirtd
===================================================================
--- libvirt-2.1.0.orig/examples/apparmor/usr.sbin.libvirtd
+++ libvirt-2.1.0/examples/apparmor/usr.sbin.libvirtd
@@ -67,4 +67,22 @@
# allow changing to our UUID-based named profiles
change_profile -> @{LIBVIRT}-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*,
@ -64,6 +64,3 @@ index 23f70f5..48651b2 100644
+ /usr/{lib,libexec}/qemu-bridge-helper rmix,
+ }
}
--
2.6.6

View File

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

View File

@ -1,46 +0,0 @@
commit c8f08e487672afcaa53629bddbc6703b5d90e846
Author: Jim Fehlig <jfehlig@suse.com>
Date: Mon Jul 11 17:26:48 2016 -0600
systemd: fix ready notification on abstract socket
At least with systemd v210, NOTIFY_SOCKET is abstact, e.g.
@/org/freedesktop/systemd1/notify. sendmsg() fails on such a socket
with "Connection refused". The unix(7) man page contains the following
details wrt abstract socket addresses
abstract: an abstract socket address is distinguished (from a
pathname socket) by the fact that sun_path[0] is a null byte
('\0'). The socket's address in this namespace is given by the
additional bytes in sun_path that are covered by the specified
length of the address structure. (Null bytes in the name have
no special significance.)
So we need to be more precise about the address length, setting it to
the sizeof sa_family_t + length of address copied to sun_path instead
of setting it to the sizeof the entire sockaddr_un struct.
Resolves: https://bugzilla.opensuse.org/show_bug.cgi?id=987668
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Index: libvirt-2.0.0/src/util/virsystemd.c
===================================================================
--- libvirt-2.0.0.orig/src/util/virsystemd.c
+++ libvirt-2.0.0/src/util/virsystemd.c
@@ -495,7 +495,6 @@ virSystemdNotifyStartup(void)
};
struct msghdr mh = {
.msg_name = &un,
- .msg_namelen = sizeof(un),
.msg_iov = &iov,
.msg_iovlen = 1,
};
@@ -515,6 +514,8 @@ virSystemdNotifyStartup(void)
if (un.sun_path[0] == '@')
un.sun_path[0] = '\0';
+ mh.msg_namelen = offsetof(struct sockaddr_un, sun_path) + strlen(path);
+
fd = socket(AF_UNIX, SOCK_DGRAM, 0);
if (fd < 0) {
VIR_WARN("Unable to create socket FD");

View File

@ -41,10 +41,10 @@ Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/cpu/cpu_x86.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: libvirt-2.0.0/src/cpu/cpu_x86.c
Index: libvirt-2.1.0/src/cpu/cpu_x86.c
===================================================================
--- libvirt-2.0.0.orig/src/cpu/cpu_x86.c
+++ libvirt-2.0.0/src/cpu/cpu_x86.c
--- libvirt-2.1.0.orig/src/cpu/cpu_x86.c
+++ libvirt-2.1.0/src/cpu/cpu_x86.c
@@ -1576,7 +1576,7 @@ x86Compute(virCPUDefPtr host,
if (!(guest_model = x86ModelCopy(host_model)))
goto error;

View File

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

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAld2MUcACgkQRga4pd6VvB8KZwCgmfElUahCJKGN6KEKIdDmjNWT
snoAnAn/J4imekmwJeGGJTBY4S8Izdv4
=UgFQ
-----END PGP SIGNATURE-----

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

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

7
libvirt-2.1.0.tar.xz.asc Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlegWv0ACgkQRga4pd6VvB/vGQCfejAVwz1SJ4U7YX8PmACZpvtd
1ooAn0QkbzRWsIsMr7WINWK3pb2HELFy
=NPFm
-----END PGP SIGNATURE-----

View File

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

View File

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

View File

@ -1,7 +1,7 @@
Index: libvirt-2.0.0/configure.ac
Index: libvirt-2.1.0/configure.ac
===================================================================
--- libvirt-2.0.0.orig/configure.ac
+++ libvirt-2.0.0/configure.ac
--- libvirt-2.1.0.orig/configure.ac
+++ libvirt-2.1.0/configure.ac
@@ -248,6 +248,7 @@ LIBVIRT_CHECK_FUSE
LIBVIRT_CHECK_GLUSTER
LIBVIRT_CHECK_HAL
@ -34,11 +34,11 @@ Index: libvirt-2.0.0/configure.ac
LIBVIRT_RESULT_NUMACTL
LIBVIRT_RESULT_OPENWSMAN
LIBVIRT_RESULT_PCIACCESS
Index: libvirt-2.0.0/src/Makefile.am
Index: libvirt-2.1.0/src/Makefile.am
===================================================================
--- libvirt-2.0.0.orig/src/Makefile.am
+++ libvirt-2.0.0/src/Makefile.am
@@ -943,6 +943,10 @@ if WITH_NETCF
--- libvirt-2.1.0.orig/src/Makefile.am
+++ libvirt-2.1.0/src/Makefile.am
@@ -945,6 +945,10 @@ if WITH_NETCF
INTERFACE_DRIVER_SOURCES += \
interface/interface_backend_netcf.c
endif WITH_NETCF
@ -49,7 +49,7 @@ Index: libvirt-2.0.0/src/Makefile.am
if WITH_UDEV
INTERFACE_DRIVER_SOURCES += \
interface/interface_backend_udev.c
@@ -1589,6 +1593,10 @@ if WITH_NETCF
@@ -1590,6 +1594,10 @@ if WITH_NETCF
libvirt_driver_interface_la_CFLAGS += $(NETCF_CFLAGS)
libvirt_driver_interface_la_LIBADD += $(NETCF_LIBS)
endif WITH_NETCF
@ -60,10 +60,10 @@ Index: libvirt-2.0.0/src/Makefile.am
if WITH_UDEV
libvirt_driver_interface_la_CFLAGS += $(UDEV_CFLAGS)
libvirt_driver_interface_la_LIBADD += $(UDEV_LIBS)
Index: libvirt-2.0.0/tools/virsh.c
Index: libvirt-2.1.0/tools/virsh.c
===================================================================
--- libvirt-2.0.0.orig/tools/virsh.c
+++ libvirt-2.0.0/tools/virsh.c
--- libvirt-2.1.0.orig/tools/virsh.c
+++ libvirt-2.1.0/tools/virsh.c
@@ -636,6 +636,8 @@ virshShowVersion(vshControl *ctl ATTRIBU
vshPrint(ctl, " Interface");
# if defined(WITH_NETCF)
@ -73,10 +73,10 @@ Index: libvirt-2.0.0/tools/virsh.c
# elif defined(WITH_UDEV)
vshPrint(ctl, " udev");
# endif
Index: libvirt-2.0.0/src/interface/interface_backend_netcf.c
Index: libvirt-2.1.0/src/interface/interface_backend_netcf.c
===================================================================
--- libvirt-2.0.0.orig/src/interface/interface_backend_netcf.c
+++ libvirt-2.0.0/src/interface/interface_backend_netcf.c
--- libvirt-2.1.0.orig/src/interface/interface_backend_netcf.c
+++ libvirt-2.1.0/src/interface/interface_backend_netcf.c
@@ -23,7 +23,12 @@
#include <config.h>
@ -160,10 +160,10 @@ Index: libvirt-2.0.0/src/interface/interface_backend_netcf.c
if (virSetSharedInterfaceDriver(&interfaceDriver) < 0)
return -1;
if (virRegisterStateDriver(&interfaceStateDriver) < 0)
Index: libvirt-2.0.0/src/interface/interface_driver.c
Index: libvirt-2.1.0/src/interface/interface_driver.c
===================================================================
--- libvirt-2.0.0.orig/src/interface/interface_driver.c
+++ libvirt-2.0.0/src/interface/interface_driver.c
--- libvirt-2.1.0.orig/src/interface/interface_driver.c
+++ libvirt-2.1.0/src/interface/interface_driver.c
@@ -30,8 +30,15 @@ interfaceRegister(void)
if (netcfIfaceRegister() == 0)
return 0;
@ -181,10 +181,10 @@ Index: libvirt-2.0.0/src/interface/interface_driver.c
if (udevIfaceRegister() == 0)
return 0;
#endif /* WITH_UDEV */
Index: libvirt-2.0.0/m4/virt-netcontrol.m4
Index: libvirt-2.1.0/m4/virt-netcontrol.m4
===================================================================
--- /dev/null
+++ libvirt-2.0.0/m4/virt-netcontrol.m4
+++ libvirt-2.1.0/m4/virt-netcontrol.m4
@@ -0,0 +1,35 @@
+dnl The libnetcontrol library
+dnl

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Aug 12 15:29:37 UTC 2016 - jfehlig@suse.com
- Update to libvirt 2.1.0
- New subpackages libvirt-libs and libvirt-admin
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Dropped patches:
c8f08e48-systemd-notify-fix.patch
- qemu: fix qemu.conf security_driver regression in 2.1.0 release
856965b3-qemu-secdriver.patch
-------------------------------------------------------------------
Fri Aug 5 22:27:44 UTC 2016 - jfehlig@suse.com

View File

@ -127,7 +127,7 @@
# For arm
%ifarch aarch64
# enable on anything newer than 1320, or SLE12 family newer than 120100
# enable on anything newer than 1320, or SLE12 newer than 120100
# use librbd-devel as build dependency
%if 0%{?suse_version} > 1320 || ( 0%{?is_opensuse} == 0 && 0%{?sle_version} > 120100 )
%define with_storage_rbd 0%{!?_without_storage_rbd:1}
@ -174,7 +174,7 @@
Name: libvirt
Url: http://libvirt.org/
Version: 2.0.0
Version: 2.1.0
Release: 0
Summary: Library providing a simple virtualization API
License: LGPL-2.1+
@ -208,6 +208,7 @@ Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
Requires: libvirt-libs = %{version}-%{release}
# All build-time requirements. Run-time requirements are
# listed against each sub-RPM
@ -297,7 +298,7 @@ BuildRequires: systemtap-sdt-devel
BuildRequires: numad
%endif
%if %{with_wireshark}
BuildRequires: wireshark-devel
BuildRequires: wireshark-devel >= 1.12.1
%endif
%if %{with_qemu}
# BuildRequire qemu-tools so configure can detect qemu-bridge-helper
@ -313,7 +314,7 @@ Source4: libvirtd-relocation-server.fw
Source99: baselibs.conf
Source100: %{name}-rpmlintrc
# Upstream patches
Patch0: c8f08e48-systemd-notify-fix.patch
Patch0: 856965b3-qemu-secdriver.patch
# Patches pending upstream review
Patch100: libxl-dom-reset.patch
Patch101: pci-use-driver-override-sysfs.patch
@ -376,8 +377,8 @@ Group: Development/Libraries/C and C++
# All runtime requirements for the libvirt package (runtime requirements
# for subpackages are listed later in those subpackages)
# The client side, i.e. shared libs and virsh are in a subpackage
Requires: %{name}-client = %{version}-%{release}
# The client side, i.e. shared libs are in a subpackage
Requires: %{name}-libs = %{version}-%{release}
# for modprobe of pci devices
Requires: modutils
@ -700,25 +701,42 @@ capabilities of VirtualBox
%endif
%package client
Summary: Client side library and utilities of the libvirt library
Summary: Client side utilities of the libvirt library
Group: Development/Libraries/C and C++
Requires: %{name}-libs = %{version}-%{release}
Requires: ncurses
Requires: readline
# So remote clients can access libvirt over SSH tunnel
# (client invokes 'nc' against the UNIX socket on the server)
Requires: netcat-openbsd
# Needed by libvirt-guests init script.
Requires: gettext-runtime
# Needed by virt-pki-validate script.
Requires: cyrus-sasl
Requires: gnutls
%description client
The client binaries needed to access the virtualization
capabilities of recent versions of Linux (and other OSes).
%package libs
Summary: Client side libraries
Group: Development/Libraries/C and C++
# So remote clients can access libvirt over SSH tunnel
# (client invokes 'nc' against the UNIX socket on the server)
Requires: netcat-openbsd
# Not technically required, but makes 'out-of-box' config
# work correctly & doesn't have onerous dependencies
Requires: cyrus-sasl-digestmd5
%description client
Shared libraries and client binaries needed to access to the
virtualization capabilities of recent versions of Linux (and other OSes).
%description libs
Shared libraries for accessing the libvirt daemon.
%package admin
Summary: Set of tools to control libvirt daemon
Group: Development/Libraries/C and C++
Requires: %{name}-libs = %{version}-%{release}
Requires: readline
%description admin
The client side utilities to control the libvirt daemon.
%package devel
Summary: Libraries, includes, etc. to compile with the libvirt library
@ -738,8 +756,8 @@ Summary: Sanlock lock manager plugin for QEMU driver
Group: Development/Libraries/C and C++
Requires: sanlock >= 2.4
# for virt-sanlock-cleanup require augeas
Requires: %{name}-client = %{version}-%{release}
Requires: %{name}-daemon = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
Requires: augeas
%description lock-sanlock
@ -751,7 +769,7 @@ Includes the Sanlock lock manager plugin for the QEMU driver
%package -n wireshark-plugin-libvirt
Summary: Wireshark plugin for libvirt RPC protocol
Group: Productivity/Networking/Diagnostic
Requires: %{name}-client = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
Requires: wireshark
%description -n wireshark-plugin-libvirt
@ -984,9 +1002,7 @@ make -C examples distclean
cp examples/lxcconvert/virt-lxc-convert $RPM_BUILD_ROOT%{_bindir}
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%if %{with_wireshark}
rm -f $RPM_BUILD_ROOT%{_libdir}/wireshark/plugins/*/libvirt.la
mv $RPM_BUILD_ROOT%{_libdir}/wireshark/plugins/*/libvirt.so \
$RPM_BUILD_ROOT%{_libdir}/wireshark/plugins/libvirt.so
rm -f $RPM_BUILD_ROOT%{_libdir}/wireshark/plugins/libvirt.la
%endif
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lock-driver/*.la
@ -1240,7 +1256,6 @@ fi
%endif
%post client
/sbin/ldconfig
%if %{with_systemd}
%service_add_post libvirt-guests.service
%endif
@ -1257,12 +1272,17 @@ if [ $1 = 0 ]; then
fi
%postun client
/sbin/ldconfig
%if %{with_systemd}
%service_del_postun libvirt-guests.service
%endif
%insserv_cleanup
%post libs
/sbin/ldconfig
%postun libs
/sbin/ldconfig
%post nss
/sbin/ldconfig
@ -1481,25 +1501,16 @@ fi
%doc %{_docdir}/%{name}/libvirt-daemon-vbox.README
%endif
%files client -f %{name}.lang
%doc AUTHORS ChangeLog.gz NEWS README COPYING COPYING.LESSER TODO
%files client
%doc %{_mandir}/man1/virsh.1*
%doc %{_mandir}/man1/virt-admin.1*
%doc %{_mandir}/man1/virt-xml-validate.1*
%doc %{_mandir}/man1/virt-pki-validate.1*
%doc %{_mandir}/man1/virt-host-validate.1*
%config(noreplace) %{_sysconfdir}/%{name}/libvirt.conf
%config(noreplace) %{_sysconfdir}/%{name}/libvirt-admin.conf
%{_bindir}/virsh
%{_bindir}/virt-admin
%{_bindir}/virt-xml-validate
%{_bindir}/virt-pki-validate
%{_bindir}/virt-host-validate
%dir %{_libdir}/%{name}
%{_libdir}/libvirt.so.*
%{_libdir}/libvirt-qemu.so.*
%{_libdir}/libvirt-lxc.so.*
%{_libdir}/libvirt-admin.so.*
%attr(0755, root, root) %{_libdir}/%{name}/libvirt-guests.sh
%{_localstatedir}/adm/fillup-templates/sysconfig.libvirt-guests
%if %{with_systemd}
@ -1509,8 +1520,17 @@ fi
%endif
%{_sbindir}/rclibvirt-guests
%files libs -f %{name}.lang
%doc AUTHORS ChangeLog.gz NEWS README COPYING COPYING.LESSER TODO
%config(noreplace) %{_sysconfdir}/%{name}/libvirt.conf
%config(noreplace) %{_sysconfdir}/%{name}/libvirt-admin.conf
%{_libdir}/libvirt.so.*
%{_libdir}/libvirt-qemu.so.*
%{_libdir}/libvirt-lxc.so.*
%{_libdir}/libvirt-admin.so.*
%dir %{_datadir}/libvirt/
%dir %{_datadir}/libvirt/schemas/
%dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/
%{_datadir}/libvirt/schemas/basictypes.rng
%{_datadir}/libvirt/schemas/capability.rng
@ -1529,9 +1549,14 @@ fi
%{_datadir}/libvirt/schemas/storagevol.rng
%{_datadir}/libvirt/cpu_map.xml
%{_datadir}/libvirt/libvirtLogo.png
%dir %{_sysconfdir}/sasl2/
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
%files admin
%doc %{_mandir}/man1/virt-admin.1*
%{_bindir}/virt-admin
%files devel
%{_libdir}/libvirt.so
%{_libdir}/libvirt-admin.so

View File

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

View File

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

View File

@ -8,11 +8,11 @@ Date: Mon Jun 23 15:51:20 2014 -0600
option, but domainReset can be implemented in the libxl driver by
forcibly destroying the domain and starting it again.
Index: libvirt-2.0.0/src/libxl/libxl_driver.c
Index: libvirt-2.1.0/src/libxl/libxl_driver.c
===================================================================
--- libvirt-2.0.0.orig/src/libxl/libxl_driver.c
+++ libvirt-2.0.0/src/libxl/libxl_driver.c
@@ -1327,6 +1327,61 @@ libxlDomainReboot(virDomainPtr dom, unsi
--- libvirt-2.1.0.orig/src/libxl/libxl_driver.c
+++ libvirt-2.1.0/src/libxl/libxl_driver.c
@@ -1348,6 +1348,61 @@ libxlDomainReboot(virDomainPtr dom, unsi
}
static int
@ -74,7 +74,7 @@ Index: libvirt-2.0.0/src/libxl/libxl_driver.c
libxlDomainDestroyFlags(virDomainPtr dom,
unsigned int flags)
{
@@ -5763,6 +5818,7 @@ static virHypervisorDriver libxlHypervis
@@ -6161,6 +6216,7 @@ static virHypervisorDriver libxlHypervis
.domainShutdown = libxlDomainShutdown, /* 0.9.0 */
.domainShutdownFlags = libxlDomainShutdownFlags, /* 0.9.10 */
.domainReboot = libxlDomainReboot, /* 0.9.0 */

View File

@ -8,10 +8,10 @@ as the default <emulator>, instead of the qemu-xen one.
See FATE#320638 for details.
Index: libvirt-2.0.0/src/libxl/libxl_capabilities.c
Index: libvirt-2.1.0/src/libxl/libxl_capabilities.c
===================================================================
--- libvirt-2.0.0.orig/src/libxl/libxl_capabilities.c
+++ libvirt-2.0.0/src/libxl/libxl_capabilities.c
--- libvirt-2.1.0.orig/src/libxl/libxl_capabilities.c
+++ libvirt-2.1.0/src/libxl/libxl_capabilities.c
@@ -36,6 +36,7 @@
#include "domain_capabilities.h"
#include "vircommand.h"

View File

@ -3,10 +3,10 @@ https://bugzilla.novell.com/show_bug.cgi?id=879425
src/libxl/libxl_conf.c | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Index: libvirt-2.0.0/src/libxl/libxl_conf.c
Index: libvirt-2.1.0/src/libxl/libxl_conf.c
===================================================================
--- libvirt-2.0.0.orig/src/libxl/libxl_conf.c
+++ libvirt-2.0.0/src/libxl/libxl_conf.c
--- libvirt-2.1.0.orig/src/libxl/libxl_conf.c
+++ libvirt-2.1.0/src/libxl/libxl_conf.c
@@ -562,6 +562,30 @@ libxlDiskSetDiscard(libxl_device_disk *x
#endif
}
@ -38,7 +38,7 @@ Index: libvirt-2.0.0/src/libxl/libxl_conf.c
static char *
libxlMakeNetworkDiskSrcStr(virStorageSourcePtr src,
const char *username,
@@ -803,6 +827,7 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk
@@ -804,6 +828,7 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk
x_disk->is_cdrom = l_disk->device == VIR_DOMAIN_DISK_DEVICE_CDROM ? 1 : 0;
if (libxlDiskSetDiscard(x_disk, l_disk->discard) < 0)
return -1;

View File

@ -16,11 +16,11 @@ Signed-off-by: Jim Fehlig <jfehlig@suse.com>
tools/virsh.pod | 8 ++++++++
6 files changed, 125 insertions(+), 6 deletions(-)
Index: libvirt-2.0.0/include/libvirt/libvirt-domain.h
Index: libvirt-2.1.0/include/libvirt/libvirt-domain.h
===================================================================
--- libvirt-2.0.0.orig/include/libvirt/libvirt-domain.h
+++ libvirt-2.0.0/include/libvirt/libvirt-domain.h
@@ -864,6 +864,31 @@ typedef enum {
--- libvirt-2.1.0.orig/include/libvirt/libvirt-domain.h
+++ libvirt-2.1.0/include/libvirt/libvirt-domain.h
@@ -873,6 +873,31 @@ typedef enum {
*/
# define VIR_MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT "auto_converge.increment"
@ -52,11 +52,11 @@ Index: libvirt-2.0.0/include/libvirt/libvirt-domain.h
/* Domain migration. */
virDomainPtr virDomainMigrate (virDomainPtr domain, virConnectPtr dconn,
unsigned long flags, const char *dname,
Index: libvirt-2.0.0/src/libxl/libxl_driver.c
Index: libvirt-2.1.0/src/libxl/libxl_driver.c
===================================================================
--- libvirt-2.0.0.orig/src/libxl/libxl_driver.c
+++ libvirt-2.0.0/src/libxl/libxl_driver.c
@@ -5428,6 +5428,9 @@ libxlDomainMigratePerform3Params(virDoma
--- libvirt-2.1.0.orig/src/libxl/libxl_driver.c
+++ libvirt-2.1.0/src/libxl/libxl_driver.c
@@ -5826,6 +5826,9 @@ libxlDomainMigratePerform3Params(virDoma
const char *dname = NULL;
const char *uri = NULL;
int ret = -1;
@ -66,7 +66,7 @@ Index: libvirt-2.0.0/src/libxl/libxl_driver.c
#ifdef LIBXL_HAVE_NO_SUSPEND_RESUME
virReportUnsupportedError();
@@ -5444,6 +5447,18 @@ libxlDomainMigratePerform3Params(virDoma
@@ -5842,6 +5845,18 @@ libxlDomainMigratePerform3Params(virDoma
virTypedParamsGetString(params, nparams,
VIR_MIGRATE_PARAM_DEST_NAME,
&dname) < 0 ||
@ -85,7 +85,7 @@ Index: libvirt-2.0.0/src/libxl/libxl_driver.c
virTypedParamsGetString(params, nparams,
VIR_MIGRATE_PARAM_URI,
&uri) < 0)
@@ -5458,11 +5473,11 @@ libxlDomainMigratePerform3Params(virDoma
@@ -5856,11 +5871,11 @@ libxlDomainMigratePerform3Params(virDoma
if (flags & VIR_MIGRATE_PEER2PEER) {
if (libxlDomainMigrationPerformP2P(driver, vm, dom->conn, dom_xml,
@ -99,10 +99,10 @@ Index: libvirt-2.0.0/src/libxl/libxl_driver.c
goto cleanup;
}
Index: libvirt-2.0.0/src/libxl/libxl_migration.c
Index: libvirt-2.1.0/src/libxl/libxl_migration.c
===================================================================
--- libvirt-2.0.0.orig/src/libxl/libxl_migration.c
+++ libvirt-2.0.0/src/libxl/libxl_migration.c
--- libvirt-2.1.0.orig/src/libxl/libxl_migration.c
+++ libvirt-2.1.0/src/libxl/libxl_migration.c
@@ -357,18 +357,39 @@ libxlMigrateReceive(virNetSocketPtr sock
static int
libxlDoMigrateSend(libxlDriverPrivatePtr driver,
@ -217,10 +217,10 @@ Index: libvirt-2.0.0/src/libxl/libxl_migration.c
virObjectLock(vm);
cleanup:
Index: libvirt-2.0.0/src/libxl/libxl_migration.h
Index: libvirt-2.1.0/src/libxl/libxl_migration.h
===================================================================
--- libvirt-2.0.0.orig/src/libxl/libxl_migration.h
+++ libvirt-2.0.0/src/libxl/libxl_migration.h
--- libvirt-2.1.0.orig/src/libxl/libxl_migration.h
+++ libvirt-2.1.0/src/libxl/libxl_migration.h
@@ -37,6 +37,10 @@
VIR_MIGRATE_PARAM_URI, VIR_TYPED_PARAM_STRING, \
VIR_MIGRATE_PARAM_DEST_NAME, VIR_TYPED_PARAM_STRING, \
@ -265,10 +265,10 @@ Index: libvirt-2.0.0/src/libxl/libxl_migration.h
virDomainPtr
libxlDomainMigrationFinish(virConnectPtr dconn,
Index: libvirt-2.0.0/tools/virsh-domain.c
Index: libvirt-2.1.0/tools/virsh-domain.c
===================================================================
--- libvirt-2.0.0.orig/tools/virsh-domain.c
+++ libvirt-2.0.0/tools/virsh-domain.c
--- libvirt-2.1.0.orig/tools/virsh-domain.c
+++ libvirt-2.1.0/tools/virsh-domain.c
@@ -9977,6 +9977,22 @@ static const vshCmdOptDef opts_migrate[]
.type = VSH_OT_INT,
.help = N_("CPU throttling rate increment for auto-convergence")
@ -328,11 +328,11 @@ Index: libvirt-2.0.0/tools/virsh-domain.c
if (vshCommandOptStringReq(ctl, cmd, "xml", &opt) < 0)
goto out;
if (opt) {
Index: libvirt-2.0.0/tools/virsh.pod
Index: libvirt-2.1.0/tools/virsh.pod
===================================================================
--- libvirt-2.0.0.orig/tools/virsh.pod
+++ libvirt-2.0.0/tools/virsh.pod
@@ -1631,6 +1631,14 @@ compression. I<--comp-mt-threads> and I<
--- libvirt-2.1.0.orig/tools/virsh.pod
+++ libvirt-2.1.0/tools/virsh.pod
@@ -1662,6 +1662,14 @@ compression. I<--comp-mt-threads> and I<
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.

View File

@ -7,10 +7,10 @@ and npiv.
For more details, see bsc#954872 and FATE#319810
Index: libvirt-2.0.0/src/libxl/libxl_conf.c
Index: libvirt-2.1.0/src/libxl/libxl_conf.c
===================================================================
--- libvirt-2.0.0.orig/src/libxl/libxl_conf.c
+++ libvirt-2.0.0/src/libxl/libxl_conf.c
--- libvirt-2.1.0.orig/src/libxl/libxl_conf.c
+++ libvirt-2.1.0/src/libxl/libxl_conf.c
@@ -562,6 +562,25 @@ libxlDiskSetDiscard(libxl_device_disk *x
#endif
}
@ -37,7 +37,7 @@ Index: libvirt-2.0.0/src/libxl/libxl_conf.c
static void
libxlDiskSetCacheMode(libxl_device_disk *x_disk, int cachemode)
{
@@ -705,6 +724,7 @@ libxlMakeNetworkDiskSrc(virStorageSource
@@ -706,6 +725,7 @@ libxlMakeNetworkDiskSrc(virStorageSource
int
libxlMakeDisk(virDomainDiskDefPtr l_disk, libxl_device_disk *x_disk)
{
@ -45,7 +45,7 @@ Index: libvirt-2.0.0/src/libxl/libxl_conf.c
const char *driver = virDomainDiskGetDriver(l_disk);
int format = virDomainDiskGetFormat(l_disk);
int actual_type = virStorageSourceGetActualType(l_disk->src);
@@ -720,7 +740,7 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk
@@ -721,7 +741,7 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk
if (libxlMakeNetworkDiskSrc(l_disk->src, &x_disk->pdev_path) < 0)
return -1;
} else {
@ -54,7 +54,7 @@ Index: libvirt-2.0.0/src/libxl/libxl_conf.c
return -1;
}
@@ -828,6 +848,9 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk
@@ -829,6 +849,9 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk
if (libxlDiskSetDiscard(x_disk, l_disk->discard) < 0)
return -1;
libxlDiskSetCacheMode(x_disk, l_disk->cachemode);

View File

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

View File

@ -29,10 +29,10 @@ Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/util/virpci.c | 151 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 149 insertions(+), 2 deletions(-)
Index: libvirt-2.0.0/src/util/virpci.c
Index: libvirt-2.1.0/src/util/virpci.c
===================================================================
--- libvirt-2.0.0.orig/src/util/virpci.c
+++ libvirt-2.0.0/src/util/virpci.c
--- libvirt-2.1.0.orig/src/util/virpci.c
+++ libvirt-2.1.0/src/util/virpci.c
@@ -1089,8 +1089,54 @@ virPCIDeviceUnbind(virPCIDevicePtr dev)
return ret;
}

View File

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

View File

@ -1,7 +1,7 @@
Index: libvirt-2.0.0/examples/apparmor/libvirt-qemu
Index: libvirt-2.1.0/examples/apparmor/libvirt-qemu
===================================================================
--- libvirt-2.0.0.orig/examples/apparmor/libvirt-qemu
+++ libvirt-2.0.0/examples/apparmor/libvirt-qemu
--- libvirt-2.1.0.orig/examples/apparmor/libvirt-qemu
+++ libvirt-2.1.0/examples/apparmor/libvirt-qemu
@@ -151,3 +151,6 @@
/etc/udev/udev.conf r,
/sys/bus/ r,

View File

@ -8,10 +8,10 @@ Subject: [PATCH] support managed pci devices in xen driver
src/xenxs/xen_xm.c | 28 +++++++++++++++++++++++++++-
2 files changed, 35 insertions(+), 15 deletions(-)
Index: libvirt-2.0.0/src/xenconfig/xen_common.c
Index: libvirt-2.1.0/src/xenconfig/xen_common.c
===================================================================
--- libvirt-2.0.0.orig/src/xenconfig/xen_common.c
+++ libvirt-2.0.0/src/xenconfig/xen_common.c
--- libvirt-2.1.0.orig/src/xenconfig/xen_common.c
+++ libvirt-2.1.0/src/xenconfig/xen_common.c
@@ -394,6 +394,8 @@ xenParsePCI(virConfPtr conf, virDomainDe
{
virConfValuePtr list = virConfGetValue(conf, "pci");
@ -66,10 +66,10 @@ Index: libvirt-2.0.0/src/xenconfig/xen_common.c
hostdev->source.subsys.type = VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI;
hostdev->source.subsys.u.pci.addr.domain = domainID;
hostdev->source.subsys.u.pci.addr.bus = busID;
Index: libvirt-2.0.0/src/xenconfig/xen_sxpr.c
Index: libvirt-2.1.0/src/xenconfig/xen_sxpr.c
===================================================================
--- libvirt-2.0.0.orig/src/xenconfig/xen_sxpr.c
+++ libvirt-2.0.0/src/xenconfig/xen_sxpr.c
--- libvirt-2.1.0.orig/src/xenconfig/xen_sxpr.c
+++ libvirt-2.1.0/src/xenconfig/xen_sxpr.c
@@ -1062,6 +1062,7 @@ xenParseSxprPCI(virDomainDefPtr def,
int busID;
int slotID;

View File

@ -7,10 +7,10 @@ suse-qemu-conf-secdriver.patch, suse-qemu-conf-lockmgr.patch,
etc.), but for now they are all lumped together in this
single patch.
Index: libvirt-2.0.0/src/qemu/qemu.conf
Index: libvirt-2.1.0/src/qemu/qemu.conf
===================================================================
--- libvirt-2.0.0.orig/src/qemu/qemu.conf
+++ libvirt-2.0.0/src/qemu/qemu.conf
--- libvirt-2.1.0.orig/src/qemu/qemu.conf
+++ libvirt-2.1.0/src/qemu/qemu.conf
@@ -212,11 +212,20 @@
# isolation, but it cannot appear in a list of drivers.
#

View File

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

View File

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

View File

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

View File

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

View File

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