diff -r 54abd2088466 -r f40d6547d9db
src/Virt_VirtualSystemManagementService.c
--- a/src/Virt_VirtualSystemManagementService.c Sat Jun 06 22:46:51 2009 -0300
+++ b/src/Virt_VirtualSystemManagementService.c Sat Jun 06 22:46:51 2009 -0300
@@ -599,6 +599,12 @@
else
return "Invalid value for EmulatedType";
+ if (cu_get_str_prop(inst, "BusType", &val) != CMPI_RC_OK)
+ val = "ide";
This is an optional value. If the user doesn't specify a value, libvirt
will attempt to determine the correct value. So instead of setting
"ide" as the default here, just set dev->dev.disk.bus_type to NULL to
indicate no value was set.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com