[Libvirt-cim] [PATCH 3 of 3] SD: adopt interface change of Device provider

Heidi Eckhart heidieck at linux.vnet.ibm.com
Tue Feb 26 12:51:50 UTC 2008


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1204029556 -3600
# Node ID 59b90560cdd2dc2748589747294e6d4d658fb3b8
# Parent  cb5e9f764dc5acde83c436232a37cb39945a8bc1
SD: adopt interface change of Device provider
Signed-off-by: Heidi Eckhart <heidieck at linux.vnet.ibm.com>

diff -r cb5e9f764dc5 -r 59b90560cdd2 src/Virt_SystemDevice.c
--- a/src/Virt_SystemDevice.c	Tue Feb 26 13:39:15 2008 +0100
+++ b/src/Virt_SystemDevice.c	Tue Feb 26 13:39:16 2008 +0100
@@ -184,7 +184,7 @@ static CMPIStatus dev_to_sys(const CMPIO
         if (!match_hypervisor_prefix(ref, info))
                 return s;
 
-        s = get_device(_BROKER, ref, &inst);
+        s = get_device_by_ref(_BROKER, ref, &inst);
         if (s.rc != CMPI_RC_OK)
                 goto out;
 




More information about the Libvirt-cim mailing list