cloud-hypervisor/vm-device
Sebastien Boeuf 11e9f43305 vmm: Use new Resource type PciBar
Instead of defining some very generic resources as PioAddressRange or
MmioAddressRange for each PCI BAR, let's move to the new Resource type
PciBar in order to make things clearer. This allows the code for being
more readable, but also removes the need for hard assumptions about the
MMIO and PIO ranges. PioAddressRange and MmioAddressRange types can be
used to describe everything except PCI BARs. BARs are very special as
they can be relocated and have special information we want to carry
along with them.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2022-04-19 12:54:09 -07:00
..
src vmm: Use new Resource type PciBar 2022-04-19 12:54:09 -07:00
Cargo.toml build: migrate to Rust 2021 edition 2022-04-11 09:51:12 +01:00