[Libvirt-cim] [PATCH 3 of 4] Replace printf() with CU_DEBUG in VSMgmtService

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Mon Jan 7 21:19:44 UTC 2008


# HG changeset patch
# User Kaitlin Rupert <karupert at us.ibm.com>
# Date 1199740361 28800
# Node ID aecc7eb40e68ea06e9e5e3a5b80deac1c34af5eb
# Parent  87362d52572b34fd880d28b76bdfb021a507cbd6
Replace printf() with CU_DEBUG in VSMgmtService.

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

diff -r 87362d52572b -r aecc7eb40e68 src/Virt_VirtualSystemManagementService.c
--- a/src/Virt_VirtualSystemManagementService.c	Mon Jan 07 13:11:19 2008 -0800
+++ b/src/Virt_VirtualSystemManagementService.c	Mon Jan 07 13:12:41 2008 -0800
@@ -513,7 +513,7 @@ static CMPIStatus update_system_settings
 
         xml = system_to_xml(dominfo);
         if (xml != NULL) {
-                printf("New XML is:\n%s\n", xml);
+                CU_DEBUG("New XML is:\n%s", xml);
                 connect_and_create(xml, ref, &s);
         }
 
@@ -848,7 +848,7 @@ static CMPIStatus _update_resources_for(
 
         xml = system_to_xml(dominfo);
         if (xml != NULL) {
-                printf("New XML:\n%s\n", xml);
+                CU_DEBUG("New XML:\n%s", xml);
                 connect_and_create(xml, ref, &s);
         } else {
                 cu_statusf(_BROKER, &s,




More information about the Libvirt-cim mailing list