[Libvirt-cim] [PATCH] Call _set_fv_prop() in VSSD for XenFV, KVM, and QEMU guests

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Fri Oct 30 23:47:31 UTC 2009


# HG changeset patch
# User Kaitlin Rupert <karupert at us.ibm.com>
# Date 1256945272 25200
# Node ID d9ec0ec02cec9c1b9e690e403f3c080a9a6589a7
# Parent  fa2c916f6772d7e02ab32f1d167d83826898cacb
Call _set_fv_prop() in VSSD for XenFV, KVM, and QEMU guests.

This if statement is missing a few brackets...

Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>

diff -r fa2c916f6772 -r d9ec0ec02cec src/Virt_VSSD.c
--- a/src/Virt_VSSD.c	Fri Oct 30 15:42:45 2009 -0700
+++ b/src/Virt_VSSD.c	Fri Oct 30 16:27:52 2009 -0700
@@ -233,12 +233,13 @@
 
 
         if ((dominfo->type == DOMAIN_XENFV) ||
-            (dominfo->type == DOMAIN_KVM) || (dominfo->type == DOMAIN_QEMU))
+            (dominfo->type == DOMAIN_KVM) || (dominfo->type == DOMAIN_QEMU)) {
                 s = _set_fv_prop(broker, dominfo, inst);
                 if (s.rc != CMPI_RC_OK) {
                         ret = 0;
                         goto out;
                 }
+        }
 
         else if (dominfo->type == DOMAIN_XENPV)
                 _set_pv_prop(dominfo, inst);




More information about the Libvirt-cim mailing list