pci: msix: Derive Versionize for MsixCap
So that we can save and restore the whole structure through snapshot and restore operations. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
a1b996ac37
commit
8eaefa6e8e
1 changed files with 1 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ impl Snapshottable for MsixConfig {
|
|||
|
||||
#[allow(dead_code)]
|
||||
#[repr(packed)]
|
||||
#[derive(Clone, Copy, Default)]
|
||||
#[derive(Clone, Copy, Default, Versionize)]
|
||||
pub struct MsixCap {
|
||||
// Message Control Register
|
||||
// 10-0: MSI-X Table size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue