mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-18 10:35:23 +00:00
pci: Make unit tests compile
Another member was added to the configuration struct. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
74d079f7da
commit
9a17871630
@ -643,6 +643,7 @@ mod tests {
|
||||
PciHeaderType::Device,
|
||||
0xABCD,
|
||||
0x2468,
|
||||
None,
|
||||
);
|
||||
|
||||
// Add two capabilities with different contents.
|
||||
@ -704,6 +705,7 @@ mod tests {
|
||||
PciHeaderType::Device,
|
||||
0xABCD,
|
||||
0x2468,
|
||||
None,
|
||||
);
|
||||
|
||||
let class_reg = cfg.read_reg(2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user