[Libvirt-cim] [PATCH 2 of 2] Add template RASD for floppy devices

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Dec 17 00:04:15 UTC 2009


Richard Maciel wrote:
> On 12/12/2009 12:06 AM, Kaitlin Rupert wrote:
>> # HG changeset patch
>> # User Kaitlin Rupert<karupert at us.ibm.com>
>> # Date 1260583468 28800
>> # Node ID e9f73b7c78fdde79996eb6a3a54cf56219153cc0
>> # Parent  b7bb0916ce5f3e6b70b4ff666160e076bfd8783a
>> Add template RASD for floppy devices
>>
>> Signed-off-by: Kaitlin Rupert<karupert at us.ibm.com>
>>
>> diff -r b7bb0916ce5f -r e9f73b7c78fd 
>> src/Virt_SettingsDefineCapabilities.c
>> --- a/src/Virt_SettingsDefineCapabilities.c    Fri Dec 11 18:04:28 
>> 2009 -0800
>> +++ b/src/Virt_SettingsDefineCapabilities.c    Fri Dec 11 18:04:28 
>> 2009 -0800
>> @@ -811,6 +811,8 @@
>>                                         (CMPIValue *)&disk_size, 
>> CMPI_uint64);
>>                   } else if (emu_type == 1) {
>>                           dev = "hdc";
>> +                } else if (emu_type == 1) {
> 
> emu_type value should be 2

Good catch - thanks!  Actually, these should use the actual types 
IRT_DISK_TYPE_FLOPPY, etc.


-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list