cloud-hypervisor/vfio/src
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
..
lib.rs vfio: Create VFIO implementation of ExternalDmaMapping 2019-10-16 07:27:06 +02:00
vfio_device.rs vfio: Don't map guest memory for VFIO devices attached to vIOMMU 2019-10-16 07:27:06 +02:00
vfio_ioctls.rs vfio: VFIO API wrappers and helpers 2019-07-24 11:55:08 +02:00
vfio_pci.rs pci: Remove ioeventfds() from PciDevice trait 2019-10-31 09:30:59 +01:00