
# HG changeset patch # User snmishra@us.ibm.com # Date 1252684847 25200 # Node ID 74607c71855e6baeeb49bbc134b773acc39675fb # Parent 44e2c3144f199c7e552e3f5066186289b424b5db Modify Virt_RASD so that rasd_from_vdev() can be used by other providers. Signed-off-by: Sharad Mishra <snmishra@us.ibm.com> diff -r 44e2c3144f19 -r 74607c71855e src/Virt_RASD.c --- a/src/Virt_RASD.c Fri Sep 11 09:00:47 2009 -0700 +++ b/src/Virt_RASD.c Fri Sep 11 09:00:47 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 44e2c3144f19 -r 74607c71855e src/Virt_RASD.h --- a/src/Virt_RASD.h Fri Sep 11 09:00:47 2009 -0700 +++ b/src/Virt_RASD.h Fri Sep 11 09:00:47 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 /*