[Libvirt-cim] [PATCH 2 of 4] Add migration types to VSMigrationSettingData.h

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Feb 27 16:11:13 UTC 2008


Heidi Eckhart wrote:
> Kaitlin Rupert wrote:
>> -        uint16_t type = 3;  /* Use live migration as default */
>> +        uint16_t type = CIM_MIGRATE_LIVE;
>> ...
>> +enum {CIM_MIGRATE_OTHER = 1,
>> +      CIM_MIGRATE_LIVE = 2,
>> +      CIM_MIGRATE_RESUME = 3,
>> +      CIM_MIGRATE_RESTART = 4,
>> +} migration_type;
>> +
>>  
> What is now correct ? MIGRATE_LIVE 2 or 3 ?
> 
I had a mistake earlier on, MIGRATE_LIVE is 2.  Here's the relevant part 
from the mof:

     ValueMap {"0","1","2","3","4"},
     Values { "Unknown", "Other", "Live", "Resume", "Restart" }]
     uint16 MigrationType;


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




More information about the Libvirt-cim mailing list