
# HG changeset patch # User Richard Maciel <rmaciel@linux.vnet.ibm.com> # Date 1244339202 10800 # Node ID 5a873709bd07b283922a09e0ae8c0d6970bea93c # Parent 6107c1026ed44acaf24ce9430a0e6dd2fa97f252 Adds BusType prop to DiskRASD and support for it to the disk structure Signed-off-by: Richard Maciel <rmaciel@linux.vnet.ibm.com> diff -r 6107c1026ed4 -r 5a873709bd07 libxkutil/device_parsing.h --- a/libxkutil/device_parsing.h Mon Jun 01 18:19:42 2009 -0300 +++ b/libxkutil/device_parsing.h Sat Jun 06 22:46:42 2009 -0300 @@ -39,6 +39,7 @@ enum {DISK_UNKNOWN, DISK_PHY, DISK_FILE, DISK_FS} disk_type; bool readonly; bool shareable; + char *bus_type; }; struct net_device { diff -r 6107c1026ed4 -r 5a873709bd07 schema/ResourceAllocationSettingData.mof --- a/schema/ResourceAllocationSettingData.mof Mon Jun 01 18:19:42 2009 -0300 +++ b/schema/ResourceAllocationSettingData.mof Sat Jun 06 22:46:42 2009 -0300 @@ -28,6 +28,9 @@ ValueMap {"0", "1"}, Values {"Disk", "CDROM"}] uint16 EmulatedType; + + [Description ("Bus type of the device")] + string BusType; }; [Description ("LXC virtual disk configuration"),