Skip to content

failover: don't allow to migrate a paused VM that needs PCI unplug

Laurent Vivier qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2migration: provide an error message to migration_cancel()migration/migration.c migration/migration.h migration/ram.c+8 -61 reply
2/2failover: don't allow to migrate a paused VM that needs PCI unplughw/net/virtio-net.c+9 -19 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJuan Quintela
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] failover: don't allow to migrate a paused VM that needs PCI unplug

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(-)
Signature · 1 line
2.31.1