ioapic: Rely fully on the InterruptSourceGroup to manage interrupts

This commit relies on the interrupt manager and the resulting interrupt
source group to abstract the knowledge about KVM and how interrupts are
updated and delivered.

This allows the entire "devices" crate to be freed from kvm_ioctls and
kvm_bindings dependencies.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2020-01-22 23:45:27 +01:00
committed by Rob Bradford
parent 2dca959084
commit 0042f1de75
5 changed files with 69 additions and 54 deletions
-2
View File
@@ -10,8 +10,6 @@
extern crate bitflags;
extern crate byteorder;
extern crate epoll;
extern crate kvm_bindings;
extern crate kvm_ioctls;
extern crate libc;
#[macro_use]
extern crate log;