mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Add version_id to PCIDevice.
It is needed for VMState Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
0a031e0ac6
commit
f16c4abfad
2 changed files with 4 additions and 1 deletions
2
hw/pci.h
2
hw/pci.h
|
@ -209,6 +209,8 @@ struct PCIDevice {
|
|||
unsigned *msix_entry_used;
|
||||
/* Region including the MSI-X table */
|
||||
uint32_t msix_bar_size;
|
||||
/* Version id needed for VMState */
|
||||
int32_t version_id;
|
||||
};
|
||||
|
||||
PCIDevice *pci_register_device(PCIBus *bus, const char *name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue