cloud-hypervisor/vmm/src
Sebastien Boeuf adf297066d vmm: Create devices in different path if restoring the VM
In case the VM is created from scratch, the devices should be created
after the DeviceManager has been created. But this should not affect the
restore codepath, as in this case the devices should be created as part
of the restore() function.

It's necessary to perform this differentiation as the restore must go
through the following steps:
- Create the DeviceManager
- Restore the DeviceManager with the right state
- Create the devices based on the restored DeviceManager's device tree
- Restore each device based on the restored DeviceManager's device tree

That's why this patch leverages the recent split of the DeviceManager's
creation to achieve what's needed.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-05-05 16:08:42 +02:00
..
api vmm: api: Add "add-vsock" API entry point 2020-04-29 12:44:49 +01:00
acpi.rs vmm: acpi: Remove unused IORT related structures 2020-03-17 12:46:26 +00:00
config.rs vmm: config: Reject attempts to use VFIO or IOMMU without PCI 2020-05-05 11:20:52 +01:00
cpu.rs build: Initial musl support 2020-04-29 17:57:01 +01:00
device_manager.rs vmm: Create devices in different path if restoring the VM 2020-05-05 16:08:42 +02:00
interrupt.rs msi/msi-x: Prevent from losing masked interrupts 2020-02-25 08:31:14 +00:00
lib.rs vmm: api: Add "add-vsock" API entry point 2020-04-29 12:44:49 +01:00
memory_manager.rs vmm: MemoryManager: Cleanup the usage of std::ffi/io/result 2020-04-23 21:39:51 +02:00
migration.rs vmm: Add a VmRestore command 2020-04-02 13:24:25 +01:00
seccomp_filters.rs vmm: seccomp: Add fork, gettid and pipe2 syscalls to permitted list 2020-04-29 17:57:01 +01:00
vm.rs vmm: Create devices in different path if restoring the VM 2020-05-05 16:08:42 +02:00