
# HG changeset patch # User Richard Maciel <rmaciel@linux.vnet.ibm.com> # Date 1244396364 10800 # Node ID 981877c297fc9ca382d2c9bb83b9653317900641 # Parent fc8f08ab36dac00f5e8bc3f2a1d160d1a57fdc78 Adds BusType prop to DiskRASD and support for it to the disk structure #2: - Xen also supports the BusType prop Signed-off-by: Richard Maciel <rmaciel@linux.vnet.ibm.com> diff -r fc8f08ab36da -r 981877c297fc libxkutil/device_parsing.h --- a/libxkutil/device_parsing.h Wed Jun 10 16:33:17 2009 -0700 +++ b/libxkutil/device_parsing.h Sun Jun 07 14:39:24 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 fc8f08ab36da -r 981877c297fc schema/ResourceAllocationSettingData.mof --- a/schema/ResourceAllocationSettingData.mof Wed Jun 10 16:33:17 2009 -0700 +++ b/schema/ResourceAllocationSettingData.mof Sun Jun 07 14:39:24 2009 -0300 @@ -13,6 +13,10 @@ ValueMap {"0", "1"}, Values {"Disk", "CDROM"}] uint16 EmulatedType; + + [Description ("Bus type of the device")] + string BusType; + }; [Description ("KVM virtual disk configuration"), @@ -28,6 +32,9 @@ ValueMap {"0", "1"}, Values {"Disk", "CDROM"}] uint16 EmulatedType; + + [Description ("Bus type of the device")] + string BusType; }; [Description ("LXC virtual disk configuration"),