vmm: Store MSI InterruptManager from DeviceManager

Helps with future refactoring of VFIO device creation.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2020-02-27 18:10:30 +01:00
committed by Rob Bradford
parent 02adc4061a
commit d9c1b4396e
2 changed files with 13 additions and 6 deletions

View File

@@ -118,7 +118,7 @@ pub struct MsiIrqGroupConfig {
///
/// The InterruptManager implementations should protect itself from concurrent accesses internally,
/// so it could be invoked from multi-threaded context.
pub trait InterruptManager {
pub trait InterruptManager: Send + Sync {
type GroupConfig;
/// Create an [InterruptSourceGroup](trait.InterruptSourceGroup.html) object to manage