# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1424173483 28800
# Node ID a292dd2d0e1fc7e0e5d7d85afe67aae5fa7fa6ed
# Parent f922cb6a051d0d4bf0186bb755627e5df981997f
Update SettingsDefineState for disks
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r f922cb6a051d -r a292dd2d0e1f src/Virt_SettingsDefineState.c
--- a/src/Virt_SettingsDefineState.c Tue Feb 17 03:43:02 2015 -0800
+++ b/src/Virt_SettingsDefineState.c Tue Feb 17 03:44:43 2015 -0800
@@ -98,7 +98,7 @@ static CMPIStatus dev_to_rasd(const CMPI
ret = rasds_for_domain(_BROKER,
name,
- CIM_RASD_TYPE_DISK,
+ device_type_from_classname(CLASSNAME(ref)),
NAMESPACE(ref),
&rasds);