diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-20 19:42:38 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-27 20:30:22 -0500 |
commit | 694b763f8cccfb47bfdfe11fec70ce2b65404891 (patch) | |
tree | 78f00e2f6400ad22e4cab9d765407f4af7aeabf7 /hw/pci.h | |
parent | 17ffd1eaecdeffae969646f2db2f731a0e10b1b7 (diff) | |
download | qemu-694b763f8cccfb47bfdfe11fec70ce2b65404891.tar.gz qemu-694b763f8cccfb47bfdfe11fec70ce2b65404891.tar.bz2 qemu-694b763f8cccfb47bfdfe11fec70ce2b65404891.zip |
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>
Diffstat (limited to 'hw/pci.h')
-rw-r--r-- | hw/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |