commit libvirt-cim for openSUSE:Factory
Hello community,
here is the log from the commit of package libvirt-cim for openSUSE:Factory
checked in at Fri Dec 5 15:42:36 CET 2008.
--------
--- libvirt-cim/libvirt-cim.changes 2008-12-03 20:37:37.000000000 +0100
+++ /mounts/work_src_done/STABLE/libvirt-cim/libvirt-cim.changes 2008-12-05 00:47:02.000000000 +0100
@@ -1,0 +2,8 @@
+Thu Dec 4 16:40:55 MST 2008 - jfehlig@novell.com
+
+- Fix _diskpool_is_member() to return correct pool
+ bnc#456587
+- Return job on snapshot create/apply operations
+ bnc#456630
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
776-snap-service-job.patch
777-diskpool-fix.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libvirt-cim.spec ++++++
--- /var/tmp/diff_new_pack.G28363/_old 2008-12-05 15:41:21.000000000 +0100
+++ /var/tmp/diff_new_pack.G28363/_new 2008-12-05 15:41:21.000000000 +0100
@@ -26,7 +26,7 @@
Group: System/Management
AutoReqProv: yes
Version: 0.5.2
-Release: 5
+Release: 6
Summary: CMPI-based CIM provider implementing DMTF SVPC model
Source: %{name}-%{version}.tar.bz2
Source1: libvirt-cim-rpmlintrc
@@ -48,6 +48,8 @@
Patch15: default-net-source.patch
Patch16: emulator-device.patch
Patch17: 774-maxvcpu.patch
+Patch18: 776-snap-service-job.patch
+Patch19: 777-diskpool-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: cim-server
Requires: libxml2 >= 2.6.0
@@ -94,6 +96,8 @@
%patch15 -p1
%patch16 -p1
%patch17 -p1
+%patch18 -p1
+%patch19 -p1
chmod -x src/* libxkutil/* schema/* README doc/* base_schema/README*
chmod +X src/* libxkutil/* schema/*
@@ -157,6 +161,11 @@
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/cim
%changelog
+* Thu Dec 04 2008 jfehlig@novell.com
+- Fix _diskpool_is_member() to return correct pool
+ bnc#456587
+- Return job on snapshot create/apply operations
+ bnc#456630
* Wed Dec 03 2008 jfehlig@novell.com
- Catch unimplemented sentinel of GetMaxVcpus
bnc#455803
++++++ 776-snap-service-job.patch ++++++
Index: libvirt-cim-0.5.2/src/Virt_VirtualSystemSnapshotService.c
===================================================================
--- libvirt-cim-0.5.2.orig/src/Virt_VirtualSystemSnapshotService.c
+++ libvirt-cim-0.5.2/src/Virt_VirtualSystemSnapshotService.c
@@ -382,7 +382,8 @@ static struct snap_context *new_context(
static CMPIStatus start_snapshot_job(const CMPIObjectPath *ref,
const CMPIContext *context,
const char *name,
- uint16_t type)
+ uint16_t type,
+ CMPIArgs *argsout)
{
struct snap_context *ctx;
CMPIStatus s;
@@ -400,6 +401,7 @@ static CMPIStatus start_snapshot_job(con
ctx->restore = (type != VIR_VSSS_SNAPSHOT_MEMT);
s = create_job(context, ref, ctx, &job);
+ CMAddArg(argsout, "Job", (CMPIValue *)&job, CMPI_ref);
out:
return s;
@@ -457,7 +459,7 @@ static CMPIStatus create_snapshot(CMPIMe
goto out;
}
- s = start_snapshot_job(reference, context, name, type);
+ s = start_snapshot_job(reference, context, name, type, argsout);
retcode = CIM_RETURN_COMPLETED;
out:
@@ -556,7 +558,7 @@ static CMPIStatus apply_snapshot(CMPIMet
goto out;
}
- s = start_snapshot_job(reference, context, name, 0);
+ s = start_snapshot_job(reference, context, name, 0, argsout);
retcode = CIM_RETURN_COMPLETED;
++++++ 777-diskpool-fix.patch ++++++
# HG changeset patch
# User Kaitlin Rupert
participants (1)
-
root@Hilbert.suse.de