[libvirt-users] Support live migration of OpenVZ container
Eric Blake
eblake at redhat.com
Wed Aug 13 22:27:11 UTC 2014
On 08/13/2014 04:20 PM, Hongbin Lu wrote:
> Hi libvirt team,
>
> I was trying to migrate an OpenVZ domain from one host to another host. It
> seems that the live migration of OpenVZ container is there (
> https://openvz.org/Migration_from_one_HN_to_another), but it haven't been
> integrated to libvirt yet. In particular, I ran the following commands and
> it failed:
>
> $ sudo virsh migrate --live --verbose --undefinesource 101 openvz+ssh://
> root at 10.12.1.39/system
> error: this function is not supported by the connection driver:
> virDomainMigrate3
>
> Could anyone confirm if libvirt supports live migration of OpenVZ domain.
According to http://libvirt.org/hvsupport.html, no one has ported any of
the virDomainMigrate callbacks to the openvz driver.
> If yes, please let me know the correct way to do that. If no, I would like
> to know if there is a plan to add support for that. I don't mind to submit
> a patch if your team likes to review it. Please let me know. Thanks.
The plan is to wait for someone to submit a patch. So go for it! You
can use qemu and libxl migration code as a guide when implementing the
callbacks in the openvz code.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140813/a848f3a3/attachment.sig>
More information about the libvirt-users
mailing list