cloud-hypervisor/virtio-devices/src
Sebastien Boeuf b62a40efae virtio-devices, vmm: Always restore virtio devices in paused state
Following the new restore design, it is not appropriate to set every
virtio device threads into a paused state after they've been started.

This is why we remove the line of code pausing the devices only after
they've been restored, and replace it with a small patch in every virtio
device implementation. When a virtio device is created as part of a
restored VM, the associated "paused" boolean is set to true. This
ensures the corresponding thread will be directly parked when being
started, avoiding the thread to be in a different state than the one it
was on the source VM during the snapshot.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2022-12-01 09:27:00 +01:00
..
transport virtio-devices: Create a proper result type for VirtioPciDevice 2022-11-23 18:37:40 +00:00
vhost_user virtio-devices, vmm: Always restore virtio devices in paused state 2022-12-01 09:27:00 +01:00
vsock virtio-devices, vmm: Always restore virtio devices in paused state 2022-12-01 09:27:00 +01:00
balloon.rs virtio-devices, vmm: Always restore virtio devices in paused state 2022-12-01 09:27:00 +01:00
block.rs virtio-devices, vmm: Always restore virtio devices in paused state 2022-12-01 09:27:00 +01:00
console.rs virtio-devices, vmm: Always restore virtio devices in paused state 2022-12-01 09:27:00 +01:00
device.rs virtio-net: net: Wait for threads to exit on Drop 2022-11-10 07:46:16 -08:00
epoll_helper.rs virtio-devices: modify or provide safety comments 2022-11-18 12:50:01 +00:00
iommu.rs virtio-devices, vmm: Always restore virtio devices in paused state 2022-12-01 09:27:00 +01:00
lib.rs misc: Unify error message punctuation 2022-10-21 12:19:07 +02:00
mem.rs virtio-devices, vmm: Always restore virtio devices in paused state 2022-12-01 09:27:00 +01:00
net.rs virtio-devices, vmm: Always restore virtio devices in paused state 2022-12-01 09:27:00 +01:00
pmem.rs virtio-devices, vmm: Always restore virtio devices in paused state 2022-12-01 09:27:00 +01:00
rng.rs virtio-devices, vmm: Always restore virtio devices in paused state 2022-12-01 09:27:00 +01:00
seccomp_filters.rs virtio-devices: seccomp: Move mprotect() to virtio common rules 2022-11-12 08:29:47 +00: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: Always restore virtio devices in paused state 2022-12-01 09:27:00 +01:00
watchdog.rs virtio-devices, vmm: Always restore virtio devices in paused state 2022-12-01 09:27:00 +01:00