cloud-hypervisor/devices
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
..
src vm-device: interrupt: Remove InterruptType dependencies and definitions 2020-02-04 19:32:45 +01:00
Cargo.toml ioapic: Rely fully on the InterruptSourceGroup to manage interrupts 2020-01-23 11:20:08 +00:00