summaryrefslogtreecommitdiff
path: root/hw/pci.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-20 19:42:38 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 20:30:22 -0500
commit694b763f8cccfb47bfdfe11fec70ce2b65404891 (patch)
tree78f00e2f6400ad22e4cab9d765407f4af7aeabf7 /hw/pci.h
parent17ffd1eaecdeffae969646f2db2f731a0e10b1b7 (diff)
downloadqemu-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/pci.h b/hw/pci.h
index a2ec16a301..32e98d4aa5 100644
--- a/hw/pci.h
+++ b/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,