[libvirt] [PATCH] Clarify direct migration

Eric Blake eblake at redhat.com
Thu Jul 12 19:43:26 UTC 2012


On 07/12/2012 08:23 AM, Jiri Denemark wrote:
> When --direct is used when migrating a domain running on a hypervisor
> that does not support direct migration (such as QEMU), the caller would
> get the following error message:
> 
>     this function is not supported by the connection driver:
>     virDomainMigrateToURI2
> 
> which is a complete nonsense since qemu driver implements
> virDomainMigrateToURI2. This patch would emit a more sensible error in
> this case:
> 
>     Requested operation is not valid: direct migration is not supported
>     by the connection driver
> ---
>  src/libvirt.c   | 8 ++++++--
>  tools/virsh.pod | 3 +++
>  2 files changed, 9 insertions(+), 2 deletions(-)

ACK.

-- 
Eric Blake   eblake at 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: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120712/f6947062/attachment-0001.sig>


More information about the libvir-list mailing list