
13 Jul
2012
13 Jul
'12
3:19 a.m.
On Thu, Jul 12, 2012 at 13:43:26 -0600, Eric Blake wrote:
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.
Thanks, pushed. Jirka