cloud-hypervisor/vmm/src
Rob Bradford ca60adda70 vmm: Add support for sending and receiving migration if VM is paused
This is tested by:

Source VMM:

target/debug/cloud-hypervisor --kernel ~/src/linux/vmlinux \
--pmem file=~/workloads/focal.raw --cpus boot=1 \
--memory size=2048M \
--cmdline"root=/dev/pmem0p1 console=ttyS0" --serial tty --console off \
--api-socket=/tmp/api1 -v

Destination VMM:

target/debug/cloud-hypervisor --api-socket=/tmp/api2 -v

And the following commands:

target/debug/ch-remote --api-socket=/tmp/api1 pause
target/debug/ch-remote --api-socket=/tmp/api2 receive-migration unix:/tmp/foo &
target/debug/ch-remote --api-socket=/tmp/api1 send-migration unix:/tmp/foo
target/debug/ch-remote --api-socket=/tmp/api2 resume

The VM is then responsive on the destination VMM.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-11-11 11:07:24 +01:00
..
api vmm: api: Implement API support for migration 2020-11-11 11:07:24 +01:00
acpi.rs vmm: acpi: Advertise the correct PCI bus range 2020-09-23 19:03:19 +02:00
config.rs vmm: config: Require a socket when using vhost-user 2020-11-09 00:16:15 +01:00
cpu.rs vmm: Implement VM rebooting on AArch64 2020-10-30 17:14:44 +00:00
device_manager.rs vmm: Remove self-spawning functionality for vhost-user-{net,block} 2020-11-09 00:16:15 +01:00
device_tree.rs
interrupt.rs
lib.rs vmm: Add support for sending and receiving migration if VM is paused 2020-11-11 11:07:24 +01:00
memory_manager.rs vmm: memory_manager: Make the snapshot source directory an Option 2020-11-11 11:07:24 +01:00
migration.rs
seccomp_filters.rs vmm, hypervisor: Fix snapshot/restore for Windows guest 2020-10-21 19:11:03 +01:00
vm.rs vmm: Add support for sending and receiving migration if VM is paused 2020-11-11 11:07:24 +01:00