|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH] migration: Fix possible bug for migrate cancel |
Date: | Mon, 24 Mar 2014 16:47:10 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
Il 24/03/2014 14:04, address@hidden ha scritto:
From: zengjunliang <address@hidden> Return error for migrate cancel, when migration status is not MIG_STATE_SETUP or MIG_STATE_ACTIVE. Thus, libvirt can can perceive the operation fails. Signed-off-by: zengjunliang <address@hidden> Signed-off-by: Gonglei <address@hidden>
I think this is done on purpose, because canceling migration is racy. Instead, libvirt should do "query-migrate" and check if the migration was completed or canceled.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |