[Libvirt-cim] [PATCH 3 of 4] Add MigrationType support to VirtualSystemMigrationService

Dan Smith danms at us.ibm.com
Thu Feb 28 15:13:38 UTC 2008


HE> Its not very consistent that libvirt uses VIR_MIGRATE_LIVE and 0
HE> (instead of VIR_MIGRATE_STATIC or something else) as values, but
HE> that's something we seem to live with.

The reason for this is that it's not a "type" parameter, but a "flags"
parameter.  Static migration is considered the default, with Live
being an option.  You could potentially also have a flag like
VIR_MIGRATE_SECURE, which would give you the following two
combinations:

  VIR_MIGRATE_SECURE -- Static, secure migration
  VIR_MIGRATE_SECURE | VIR_MIGRATE_LIVE -- Live, secure migration

Make sense?

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080228/a0191238/attachment.sig>


More information about the Libvirt-cim mailing list