Il 24/03/2014 14:04, arei.gong...@huawei.com ha scritto:
From: zengjunliang <zengjunli...@huawei.com>

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 <zengjunli...@huawei.com>
Signed-off-by: Gonglei <arei.gong...@huawei.com>

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

Reply via email to