mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-09-17 20:44:55 +00:00
2b150ac2ea
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> |
||
---|---|---|
.. | ||
transport | ||
vhost_user | ||
vsock | ||
balloon.rs | ||
block.rs | ||
console.rs | ||
device.rs | ||
epoll_helper.rs | ||
iommu.rs | ||
lib.rs | ||
mem.rs | ||
net.rs | ||
pmem.rs | ||
rng.rs | ||
seccomp_filters.rs | ||
thread_helper.rs | ||
vdpa.rs | ||
watchdog.rs |