[libvirt] [PATCH]: ruby-libvirt migration fixes

Chris Lalancette clalance at redhat.com
Fri Aug 8 10:07:39 UTC 2008


Attached is a relatively simple patch to the ruby-libvirt bindings with some
bugfixes for the migrate call.  The first problem was that there was no way to
pass a "nil" through to the underlying virDomainMigrate() call.  This is
important because generally the "dname" and "uri" parameters end up being NULL.
 This patch also makes all the parameters beyond the first 2 optional.  I've
tested this out by live migrating a KVM guest between two hosts, and this now
does what I expect.

Signed-off-by: Chris Lalancette <clalance at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-libvirt-migrate.patch
Type: text/x-patch
Size: 2297 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080808/72aebfac/attachment-0001.bin>


More information about the libvir-list mailing list