cloud-hypervisor/vfio/src
Samuel Ortiz da2b3c92d3 vm-device: interrupt: Remove InterruptType dependencies and definitions
Having the InterruptManager trait depend on an InterruptType forces
implementations into supporting potentially very different kind of
interrupts from the same code base. What we're defining through the
current, interrupt type based create_group() method is a need for having
different interrupt managers for different kind of interrupts.

By associating the InterruptManager trait to an interrupt group
configuration type, we create a cleaner design to support that need as
we're basically saying that one interrupt manager should have the single
responsibility of supporting one kind of interrupt (defined through its
configuration).

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2020-02-04 19:32:45 +01:00
..
lib.rs vm-virtio, vmm, vfio: Store GuestMemoryMmap in an Arc<ArcSwap<T>> 2020-01-02 13:20:11 +00:00
vfio_device.rs vfio: Use the vfio-binding FAM wrappers 2020-01-31 15:09:11 +01:00
vfio_ioctls.rs vfio: VFIO API wrappers and helpers 2019-07-24 11:55:08 +02:00
vfio_pci.rs vm-device: interrupt: Remove InterruptType dependencies and definitions 2020-02-04 19:32:45 +01:00