As the guest OS is paused, we will never receive the unplug event
from the kernel and the migration cannot continue.
The first patch is optional, it provides the error message to display
to migration_cancel() rather than to have to call migrate_set_error()
from the caller.
Laurent Vivier (2):
migration: provide an error message to migration_cancel()
failover: don't allow to migrate a paused VM that needs PCI unplug
migration/migration.h | 2 +-
hw/net/virtio-net.c | 10 +++++++++-
migration/migration.c | 9 ++++++---
migration/ram.c | 3 +--
4 files changed, 17 insertions(+), 7 deletions(-)