cloud-hypervisor/vmm/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
..
api openapi: Add 'firmware' to 'PayloadConfig' 2022-10-01 08:45:21 +01:00
acpi.rs vmm: Add some tracing of boot sequence 2022-09-22 18:09:31 +01:00
clone3.rs vmm: notify virtio-console of pty resizes 2021-09-14 15:43:25 +01:00
config.rs vmm: Move 'default_serial/console()' to vm_config.rs 2022-10-07 09:13:15 -07:00
coredump.rs hypervisor: x86: provide a generic SpecialRegisters structure 2022-07-15 10:21:43 +01:00
cpu.rs build: Consolidate "gdb" build feature into "guest_debug" 2022-09-27 14:30:57 +01:00
device_manager.rs virtio-devices, vmm: vdpa: Implement live migration support 2022-10-13 10:03:23 +02:00
device_tree.rs cargo: Clean up serde dependencies 2022-05-18 08:21:19 +02:00
gdb.rs vmm: Restrict the maximum number of HW breakpoints 2022-08-23 16:57:12 +02:00
interrupt.rs vmm: Move GIC unit test to hypervisor crate 2022-06-06 10:17:26 +08:00
lib.rs vmm: Remove deprecated VmConfig::{kernel, initramfs, cmdline} members 2022-10-06 14:25:29 +01:00
memory_manager.rs vmm: Make MemoryManager::create_ram_region() public 2022-10-12 16:09:27 +01:00
migration.rs vmm: add GuestDebuggable trait 2022-05-30 13:41:40 +02:00
pci_segment.rs misc: Automatic beta clippy fixes 2022-09-20 10:59:48 +01:00
seccomp_filters.rs vmm: Extend list of authorized ioctls for vDPA 2022-10-13 10:03:23 +02:00
serial_manager.rs vmm: Move SerialBuffer to its own crate 2022-08-30 13:47:51 +02:00
sigwinch_listener.rs vmm: device_manager: Update virtio-console for proper PTY support 2022-08-30 13:47:51 +02:00
vm_config.rs vmm: Move 'default_serial/console()' to vm_config.rs 2022-10-07 09:13:15 -07:00
vm.rs vmm: Remove legacy firmware loading 2022-10-03 17:09:02 +01:00