pci: msi: Make MsiCap field public

So that it can be accessed during a VM snapshot to store its state.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf 2022-06-07 16:08:17 +02:00
parent 4ddc6ffd73
commit a1b996ac37

View File

@ -179,7 +179,7 @@ struct MsiConfigState {
impl VersionMapped for MsiConfigState {}
pub struct MsiConfig {
cap: MsiCap,
pub cap: MsiCap,
interrupt_source_group: Arc<dyn InterruptSourceGroup>,
}