cloud-hypervisor/virtio-devices/src
Sebastien Boeuf 2b150ac2ea pci, virtio-devices: Restore proper BAR type
When restoring a VM, the BAR type can be found directly from the
snapshot resources. It is more reliable than the previous method which
was using self.use_64bit_bar from VirtioPciDevice because at the time
the BARs are allocated, the VirtioDevice hasn't been restored yet,
meaning the way to determine the value of use_64bit_bar is wrong for a
device like vDPA. At this time, the device type is not known and relying
on the stored resources is the only reliable way.

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: Port codebase to the latest virtio-queue version 2022-07-29 17:41:32 +01:00
watchdog.rs virtio-devices: watchdog: Generate error on invalid queue descriptor 2022-10-04 16:38:29 +01:00