]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Fix error message when TUNNELLED flag is used in non-p2p migration
authorJiri Denemark <jdenemar@redhat.com>
Thu, 22 May 2014 11:18:21 +0000 (13:18 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 23 May 2014 07:05:39 +0000 (09:05 +0200)
commit7bdc7702f31ac9123e1ec9787368a8fbfe365496
tree7a0b0f4508d65987f81a5c2b5e1a8a607e9e386a
parentaefd9bcf9b6bbb9f1fd99abe5c1c90832be8bb93
Fix error message when TUNNELLED flag is used in non-p2p migration

The current error message is

    error: use virDomainMigrateToURI3 for peer-to-peer migration

which is correct but a bit misleading because the client did not specify
VIR_MIGRATE_PEER2PEER flag. This patch changes the error message to

    error: cannot perform tunnelled migration without using peer2peer
    flag

which is consistent with the error reported by older migration APIs.

Reported by Rich Jones in
https://bugzilla.redhat.com/show_bug.cgi?id=1095924
src/libvirt.c