pci: msi: Move MsiConfig to the new restore design

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2022-11-28 14:44:34 +01:00
parent d6bf1f5eb0
commit 1eac37bd5f
2 changed files with 43 additions and 10 deletions
+1 -1
View File
@@ -735,7 +735,7 @@ impl VfioCommon {
})
.unwrap();
let msi_config = MsiConfig::new(msg_ctl, interrupt_source_group.clone());
let msi_config = MsiConfig::new(msg_ctl, interrupt_source_group.clone(), None).unwrap();
self.interrupt.msi = Some(VfioMsi {
cfg: msi_config,