forked from pool/libvirt
Update to libvirt 0.8.8 RC3
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=97
This commit is contained in:
parent
02626c868f
commit
67ef030fd4
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a63182fc0c19d08f8996ba74fb4bf852b4f8be9b894a7503e7a0fe2b8993f6dd
|
||||
size 9358764
|
||||
oid sha256:fcd3c836429379789a50d995e93aece543568b7c0da57ff11bc6a82317b22529
|
||||
size 9515125
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 15 09:02:30 MST 2011 - jfehlig@novell.com
|
||||
|
||||
- Update to libvirt 0.8.8 RC3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 11 11:43:16 MST 2011 - jfehlig@novell.com
|
||||
|
||||
|
@ -347,6 +347,13 @@ Authors:
|
||||
%if ! %{with_virtualport}
|
||||
%define _without_virtualport --without-virtualport
|
||||
%endif
|
||||
|
||||
%define when %(date +"%%F-%%T")
|
||||
%define where %(hostname)
|
||||
%define who %{?packager}%{!?packager:Unknown}
|
||||
%define with_packager --with-packager="%{who}, %{when}, %{where}"
|
||||
%define with_packager_version --with-packager-version="%{version}-%{release}"
|
||||
|
||||
autoreconf -f -i
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
%configure --disable-static --with-pic \
|
||||
@ -370,6 +377,8 @@ export CFLAGS="$RPM_OPT_FLAGS"
|
||||
%{?_without_yajl} \
|
||||
%{?_without_macvtap} \
|
||||
%{?_without_virtualport} \
|
||||
%{with_packager} \
|
||||
%{with_packager_version} \
|
||||
--without-xen-proxy \
|
||||
--libexecdir=%{_libdir}/%{name} \
|
||||
--with-init-script=none \
|
||||
|
@ -25,7 +25,7 @@ Index: libvirt-0.8.8/src/xen/xend_internal.c
|
||||
virDomainDeviceDefPtr dev,
|
||||
char *class,
|
||||
char *ref,
|
||||
@@ -4061,7 +4062,7 @@ xenDaemonAttachDeviceFlags(virDomainPtr
|
||||
@@ -4088,7 +4089,7 @@ xenDaemonAttachDeviceFlags(virDomainPtr
|
||||
|
||||
sexpr = virBufferContentAndReset(&buf);
|
||||
|
||||
@ -34,7 +34,7 @@ Index: libvirt-0.8.8/src/xen/xend_internal.c
|
||||
/* device doesn't exist, define it */
|
||||
ret = xend_op(domain->conn, domain->name, "op", "device_create",
|
||||
"config", sexpr, NULL);
|
||||
@@ -4179,7 +4180,7 @@ xenDaemonUpdateDeviceFlags(virDomainPtr
|
||||
@@ -4211,7 +4212,7 @@ xenDaemonUpdateDeviceFlags(virDomainPtr
|
||||
|
||||
sexpr = virBufferContentAndReset(&buf);
|
||||
|
||||
@ -43,7 +43,7 @@ Index: libvirt-0.8.8/src/xen/xend_internal.c
|
||||
virXendError(VIR_ERR_OPERATION_INVALID, "%s",
|
||||
_("requested device does not exist"));
|
||||
goto cleanup;
|
||||
@@ -4272,7 +4273,7 @@ xenDaemonDetachDeviceFlags(virDomainPtr
|
||||
@@ -4304,7 +4305,7 @@ xenDaemonDetachDeviceFlags(virDomainPtr
|
||||
def, xml, VIR_DOMAIN_XML_INACTIVE)))
|
||||
goto cleanup;
|
||||
|
||||
@ -52,7 +52,7 @@ Index: libvirt-0.8.8/src/xen/xend_internal.c
|
||||
goto cleanup;
|
||||
|
||||
if (dev->type == VIR_DOMAIN_DEVICE_HOSTDEV) {
|
||||
@@ -6053,6 +6054,7 @@ error:
|
||||
@@ -6085,6 +6086,7 @@ error:
|
||||
*/
|
||||
static int
|
||||
virDomainXMLDevID(virDomainPtr domain,
|
||||
@ -60,7 +60,7 @@ Index: libvirt-0.8.8/src/xen/xend_internal.c
|
||||
virDomainDeviceDefPtr dev,
|
||||
char *class,
|
||||
char *ref,
|
||||
@@ -6061,8 +6063,12 @@ virDomainXMLDevID(virDomainPtr domain,
|
||||
@@ -6093,8 +6095,12 @@ virDomainXMLDevID(virDomainPtr domain,
|
||||
xenUnifiedPrivatePtr priv = domain->conn->privateData;
|
||||
char *xref;
|
||||
char *tmp;
|
||||
@ -73,7 +73,7 @@ Index: libvirt-0.8.8/src/xen/xend_internal.c
|
||||
if (dev->data.disk->driverName &&
|
||||
STREQ(dev->data.disk->driverName, "tap"))
|
||||
strcpy(class, "tap");
|
||||
@@ -6072,19 +6078,21 @@ virDomainXMLDevID(virDomainPtr domain,
|
||||
@@ -6104,19 +6110,21 @@ virDomainXMLDevID(virDomainPtr domain,
|
||||
else
|
||||
strcpy(class, "vbd");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user