Hello community,
here is the log from the commit of package libvirt for openSUSE:Factory
checked in at Sat Oct 2 00:46:45 CEST 2010.
--------
--- libvirt/libvirt.changes 2010-08-07 06:24:11.000000000 +0200
+++ /mounts/work_src_done/STABLE/libvirt/libvirt.changes 2010-09-28 22:27:52.000000000 +0200
@@ -1,0 +2,23 @@
+Tue Sep 28 14:20:32 MDT 2010 - jfehlig@novell.com
+
+- Fix build when virtualport support is available but macvtap is
+ disabled.
+ vport-configure.patch
+
+-------------------------------------------------------------------
+Thu Sep 23 02:42:39 MDT 2010 - jfehlig@novell.com
+
+- Fix CDROM media change for Xen PV domains
+ modified xen-pv-cdrom.patch
+ bnc#636231
+
+-------------------------------------------------------------------
+Fri Sep 10 15:45:04 MDT 2010 - jfehlig@novell.com
+
+- Update to libvirt 0.8.4
+ - various improvements to UML driver
+ - documentation improvements
+ - lot of bug fixes and other improvements
+ - enable ESX driver for openSUSE
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
libvirt-0.8.3.tar.bz2
xen-tap2-support.patch
New:
----
libvirt-0.8.4.tar.bz2
vport-configure.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libvirt.spec ++++++
--- /var/tmp/diff_new_pack.xP1sfZ/_old 2010-10-02 00:45:49.000000000 +0200
+++ /var/tmp/diff_new_pack.xP1sfZ/_new 2010-10-02 00:45:49.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package libvirt (Version 0.8.3)
+# spec file for package libvirt (Version 0.8.4)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -27,7 +27,7 @@
%define with_one 0
# hypervisor drivers that use a native remote protocol
%define with_phyp 0
-%define with_esx 0
+%define with_esx 1
# host drivers
%define with_network 1
%define with_storage_fs 1
@@ -45,6 +45,7 @@
%define with_hal 0
%define with_yajl 0
%define with_macvtap 0
+%define with_virtualport 0
# Xen is available only on i386 x86_64
%ifnarch %ix86 x86_64
@@ -114,13 +115,16 @@
%if %{with_macvtap}
BuildRequires: libnl-devel
%endif
+%if %{with_esx}
+BuildRequires: libcurl-devel
+%endif
# Only for directory ownership:
BuildRequires: gtk-doc
Url: http://libvirt.org/
License: LGPLv2.1+
Group: Development/Libraries/C and C++
AutoReqProv: yes
-Version: 0.8.3
+Version: 0.8.4
Release: 1
Summary: A C toolkit to interract with the virtualization capabilities of Linux
# The client side, i.e. shared libs and virsh are in a subpackage
@@ -145,13 +149,13 @@
Source0: %{name}-%{version}.tar.bz2
Source1: libvirtd.init
# Upstream patches
+Patch0: vport-configure.patch
# Need to go upstream
Patch100: xen-name-for-devid.patch
Patch102: clone.patch
Patch103: xen-pv-cdrom.patch
Patch104: xen-domctl-ver7.patch
-Patch105: xen-tap2-support.patch
-Patch106: xend-disk-order.patch
+Patch105: xend-disk-order.patch
# Our patches
Patch200: libvirtd-defaults.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -257,12 +261,12 @@
%prep
%setup -q
+%patch0 -p1
%patch100 -p1
%patch102
%patch103 -p1
%patch104 -p1
%patch105 -p1
-%patch106 -p1
%patch200 -p1
%build
@@ -320,6 +324,9 @@
%if ! %{with_macvtap}
%define _without_macvtap --without-macvtap
%endif
+%if ! %{with_virtualport}
+%define _without_virtualport --without-virtualport
+%endif
autoreconf -f -i
export CFLAGS="$RPM_OPT_FLAGS"
%configure --disable-static --with-pic \
@@ -342,6 +349,7 @@
%{?_without_udev} \
%{?_without_yajl} \
%{?_without_macvtap} \
+ %{?_without_virtualport} \
--without-xen-proxy \
--libexecdir=%{_libdir}/%{name} \
--with-init-script=none \
++++++ clone.patch ++++++
--- /var/tmp/diff_new_pack.xP1sfZ/_old 2010-10-02 00:45:49.000000000 +0200
+++ /var/tmp/diff_new_pack.xP1sfZ/_new 2010-10-02 00:45:49.000000000 +0200
@@ -2,7 +2,7 @@
===================================================================
--- src/lxc/lxc_container.c.orig
+++ src/lxc/lxc_container.c
-@@ -828,6 +828,9 @@ int lxcContainerStart(virDomainDefPtr de
+@@ -831,6 +831,9 @@ int lxcContainerStart(virDomainDefPtr de
lxc_child_argv_t args = { def, nveths, veths, control, ttyPath };
/* allocate a stack for the container */
@@ -12,7 +12,7 @@
if (VIR_ALLOC_N(stack, stacksize) < 0) {
virReportOOMError();
return -1;
-@@ -846,7 +849,11 @@ int lxcContainerStart(virDomainDefPtr de
+@@ -849,7 +852,11 @@ int lxcContainerStart(virDomainDefPtr de
flags |= CLONE_NEWNET;
}
@@ -24,7 +24,7 @@
VIR_FREE(stack);
DEBUG("clone() completed, new container PID is %d", pid);
-@@ -872,6 +879,7 @@ int lxcContainerAvailable(int features)
+@@ -875,6 +882,7 @@ int lxcContainerAvailable(int features)
char *childStack;
char *stack;
int childStatus;
@@ -32,7 +32,7 @@
if (features & LXC_CONTAINER_FEATURE_USER)
flags |= CLONE_NEWUSER;
-@@ -879,14 +887,21 @@ int lxcContainerAvailable(int features)
+@@ -882,14 +890,21 @@ int lxcContainerAvailable(int features)
if (features & LXC_CONTAINER_FEATURE_NET)
flags |= CLONE_NEWNET;
++++++ libvirt-0.8.3.tar.bz2 -> libvirt-0.8.4.tar.bz2 ++++++
libvirt/libvirt-0.8.3.tar.bz2 /mounts/work_src_done/STABLE/libvirt/libvirt-0.8.4.tar.bz2 differ: char 12, line 1
++++++ libvirtd-defaults.patch ++++++
--- /var/tmp/diff_new_pack.xP1sfZ/_old 2010-10-02 00:45:49.000000000 +0200
+++ /var/tmp/diff_new_pack.xP1sfZ/_new 2010-10-02 00:45:49.000000000 +0200
@@ -1,7 +1,7 @@
-Index: libvirt-0.8.0/daemon/libvirtd.conf
+Index: libvirt-0.8.4/daemon/libvirtd.conf
===================================================================
---- libvirt-0.8.0.orig/daemon/libvirtd.conf
-+++ libvirt-0.8.0/daemon/libvirtd.conf
+--- libvirt-0.8.4.orig/daemon/libvirtd.conf
++++ libvirt-0.8.4/daemon/libvirtd.conf
@@ -18,8 +18,8 @@
# It is necessary to setup a CA and issue server certificates before
# using this capability.
@@ -28,11 +28,11 @@
# Override the default mDNS advertizement name. This must be
# unique on the immediate broadcast network.
-Index: libvirt-0.8.0/daemon/libvirtd.c
+Index: libvirt-0.8.4/daemon/libvirtd.c
===================================================================
---- libvirt-0.8.0.orig/daemon/libvirtd.c
-+++ libvirt-0.8.0/daemon/libvirtd.c
-@@ -141,7 +141,7 @@ static int sigwrite = -1; /* Signa
+--- libvirt-0.8.4.orig/daemon/libvirtd.c
++++ libvirt-0.8.4/daemon/libvirtd.c
+@@ -142,7 +142,7 @@ static int sigwrite = -1; /* Signa
static int ipsock = 0; /* -l Listen for TCP/IP */
/* Defaults for configuration file elements */
@@ -41,7 +41,7 @@
static int listen_tcp = 0;
static char *listen_addr = (char *) LIBVIRTD_LISTEN_ADDR;
static char *tls_port = (char *) LIBVIRTD_TLS_PORT;
-@@ -163,7 +163,7 @@ static int auth_tcp = REMOTE_AUTH_NONE;
+@@ -164,7 +164,7 @@ static int auth_tcp = REMOTE_AUTH_NONE;
#endif
static int auth_tls = REMOTE_AUTH_NONE;
++++++ vport-configure.patch ++++++
Rework configure logic for virtualport support
V2:
- added missing AC_ARG_WITH() for --with-virtualport
In this patch I am reworking the logic around detecting virtual port support and requiring the libnl dependency.
- It requires --with-macvtap and displays an error in case of --without-macvtap --with-virtualport.
- It tests for availability of certain data in include files and displays an error in case the include file is not at the correct level and --with-virtualport was chosen
- displays 'checking' messages for macvtap and virtualport support and results
- libnl support is required when macvtap is found or requested; if libnl is not there, please supply without-macvtap
Signed-off-by: Stefan Berger