[Libvir] [PATCH] virDomainMigrate version 4 (for discussion only!)
Richard W.M. Jones
rjones at redhat.com
Thu Jul 19 16:52:35 UTC 2007
Attached is an updated patch which adds a "virsh migrate" subcommand.
I also rebuilt the API & Python binding using the generator.
Two known problems with the auto-generated Python binding at the moment:
(1) It's attached to the connection object (conn.migrate (...)) instead
of the domain object (dom.migrate (...)). It looks like the generator
is confused about a function which takes both a domain ptr and a connect
ptr.
(2) I need to get the generator to export the VIR_MIGRATE_LIVE flag. At
the moment you need to pass 0|1 for the flag parameter.
Rich.
--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-migration-virsh-20070719.patch
Type: text/x-patch
Size: 2870 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070719/11e55667/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070719/11e55667/attachment-0003.bin>
More information about the libvir-list
mailing list