cloud-hypervisor/virtio-devices/src
Sebastien Boeuf 099cdd2af8 virtio-devices, vmm: vdpa: Implement live migration support
Vdpa now implements the Migratable trait, which allows the device to be
added to the DeviceTree and therefore allows live migrating any vDPA
device that supports being suspended.

Given a vDPA device can't be resumed from a suspended state without
having to reset everything, we don't support pause/resume for a vDPA
device, as well as snapshot/restore (which requires resume to be
supported).

In order for the migration to work locally, reusing the same device on
the same host machine, the vhost-vdpa handler is dropped after the
snapshot has been performed, which allows the destination VM to open the
device without any conflict about the device being busy.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2022-10-13 10:03:23 +02:00
..
transport pci, virtio-devices: Restore proper BAR type 2022-10-13 10:03:23 +02:00
vhost_user net: Give the user the ability to set MTU 2022-09-21 16:20:57 +02:00
vsock virtio-devices: Shutdown VMM upon worker thread errors 2022-08-16 11:45:44 +01:00
balloon.rs fuzz: Don't overload meaning of reset() 2022-09-22 11:01:41 -07:00
block.rs fuzz: Don't overload meaning of reset() 2022-09-22 11:01:41 -07:00
console.rs virtio-devices: console: Detect PTY connection/disconnection 2022-08-30 13:47:51 +02:00
device.rs fuzz: Don't overload meaning of reset() 2022-09-22 11:01:41 -07:00
epoll_helper.rs virtio-devices: Custom EpollHelper::run/VirtioCommon:reset for fuzz 2022-08-30 14:01:33 -07:00
iommu.rs virtio-devices: Shutdown VMM upon worker thread errors 2022-08-16 11:45:44 +01:00
lib.rs virtio-devices: Derive thiserror::Error and drop unsed errors 2022-08-16 11:45:44 +01:00
mem.rs virtio-mem: mem: Simplify 'process_queue' 2022-10-07 07:57:08 -07:00
net.rs net: Don't override default TAP interface MTU 2022-09-27 10:37:35 +01:00
pmem.rs fuzz: Don't overload meaning of reset() 2022-09-22 11:01:41 -07:00
rng.rs virtio-devices: rng: Fix error message 2022-10-04 16:38:41 +01:00
seccomp_filters.rs virtio-devices, vmm: Remove unused macro rules 2022-05-20 09:59:43 +01:00
thread_helper.rs virtio-devices: Shutdown VMM upon worker thread errors 2022-08-16 11:45:44 +01:00
vdpa.rs virtio-devices, vmm: vdpa: Implement live migration support 2022-10-13 10:03:23 +02:00
watchdog.rs virtio-devices: watchdog: Generate error on invalid queue descriptor 2022-10-04 16:38:29 +01:00