cloud-hypervisor/vm-virtio
Sebastien Boeuf de21c9ba4f pci: Remove ioeventfds() from PciDevice trait
The PciDevice trait is supposed to describe only functions related to
PCI. The specific method ioeventfds() has nothing to do with PCI, but
instead would be more specific to virtio transport devices.

This commit removes the ioeventfds() method from the PciDevice trait,
adding some convenient helper as_any() to retrieve the Any trait from
the structure behing the PciDevice trait. This is the only way to keep
calling into ioeventfds() function from VirtioPciDevice, so that we can
still properly reprogram the PCI BAR.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2019-10-31 09:30:59 +01:00
..
src pci: Remove ioeventfds() from PciDevice trait 2019-10-31 09:30:59 +01:00
Cargo.toml Bump vmm-sys-utils to 0.2.0 2019-10-23 11:35:11 +03:00