summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorJens Freimann <jfreimann@redhat.com>2019-10-29 12:49:05 +0100
committerMichael S. Tsirkin <mst@redhat.com>2019-10-29 18:55:26 -0400
commitf045a0104c8ce38da7f42141a6b3ebf3d74b474b (patch)
tree4ab7232bb32ba160d78d3ffcd82736efc80a7fa5 /hw/net/virtio-net.c
parent9711cd0dfc3fa414f7f64935713c07134ae67971 (diff)
downloadfocaccia-qemu-f045a0104c8ce38da7f42141a6b3ebf3d74b474b.tar.gz
focaccia-qemu-f045a0104c8ce38da7f42141a6b3ebf3d74b474b.zip
vfio: unplug failover primary device before migration
As usual block all vfio-pci devices from being migrated, but make an
exception for failover primary devices. This is achieved by setting
unmigratable to 0 but also add a migration blocker for all vfio-pci
devices except failover primary devices. These will be unplugged before
migration happens by the migration handler of the corresponding
virtio-net standby device.

Signed-off-by: Jens Freimann <jfreimann@redhat.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Message-Id: <20191029114905.6856-12-jfreimann@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions