[Libvirt-cim] [PATCH 4 of 6] Modify Virt_RASD so that rasd_from_vdev() can be used by other providers.

Sharad Mishra snmishra at us.ibm.com
Thu Sep 10 23:40:31 UTC 2009


# HG changeset patch
# User snmishra at us.ibm.com
# Date 1252482482 25200
# Node ID 14910082e1d791b092dcb43e067d91b400e09aa2
# Parent  2632c5204a9a6a485f5406ea016957340895f69f
Modify Virt_RASD so that rasd_from_vdev() can be used by other providers

Signed-off-by: Sharad Mishra <snmishra at us.ibm.com>

diff -r 2632c5204a9a -r 14910082e1d7 src/Virt_RASD.c
--- a/src/Virt_RASD.c                       Wed Sep 09 00:48:02 2009 -0700
+++ b/src/Virt_RASD.c                       Wed Sep 09 00:48:02 2009 -0700
@@ -368,7 +368,7 @@
         return s;
 }

-static CMPIInstance *rasd_from_vdev(const CMPIBroker *broker,
+CMPIInstance *rasd_from_vdev(const CMPIBroker *broker,
                                     struct virt_device *dev,
                                     const char *host,
                                     const CMPIObjectPath *ref,
diff -r 2632c5204a9a -r 14910082e1d7 src/Virt_RASD.h
--- a/src/Virt_RASD.h                       Wed Sep 09 00:48:02 2009 -0700
+++ b/src/Virt_RASD.h                       Wed Sep 09 00:48:02 2009 -0700
@@ -66,6 +66,13 @@
                const uint16_t type,
                const char *host,
                struct virt_device **list);
+
+CMPIInstance *rasd_from_vdev(const CMPIBroker *broker,
+                             struct virt_device *dev,
+                             const char *host,
+                             const CMPIObjectPath *ref,
+                             const char **properties);
+
 #endif

 /*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20090910/92888093/attachment.htm>


More information about the Libvirt-cim mailing list