# HG changeset patch
# User Richard Maciel <rmaciel(a)linux.vnet.ibm.com>
# Date 1235768886 10800
# Node ID 2424d687cc8e9ff4b198858baa1ea7cbc97c523e
# Parent f88cd8378600ba6a44183cf3f39a9a76c14b930c
This patch exposes error messages from libvirt calls in Virt_VSSD.c
Signed-off-by: Richard Maciel <rmaciel(a)linux.vnet.ibm.com>
diff -r f88cd8378600 -r 2424d687cc8e src/Virt_VSSD.c
--- a/src/Virt_VSSD.c Fri Feb 27 18:07:59 2009 -0300
+++ b/src/Virt_VSSD.c Fri Feb 27 18:08:06 2009 -0300
@@ -254,10 +254,11 @@
dom = virDomainLookupByName(conn, name);
if (dom == NULL) {
- cu_statusf(broker, &s,
- CMPI_RC_ERR_NOT_FOUND,
- "No such instance (%s)",
- name);
+ virt_set_status(broker, &s,
+ CMPI_RC_ERR_NOT_FOUND,
+ conn,
+ "No such instance (%s)",
+ name);
goto out;
}