aboutsummaryrefslogtreecommitdiff
path: root/hw/qdev.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-09-01 09:56:14 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-09 14:57:20 -0500
commit391a079edbecf047ec2c9e35b18ea4e2f3b6f52d (patch)
tree94ff3f404639a2325ca66b3b8044b678be80b6da /hw/qdev.h
parentf82de8f08a7d5add367067e4b7911c9fc9892bb0 (diff)
downloadqemu-391a079edbecf047ec2c9e35b18ea4e2f3b6f52d.zip
qemu-391a079edbecf047ec2c9e35b18ea4e2f3b6f52d.tar.gz
qemu-391a079edbecf047ec2c9e35b18ea4e2f3b6f52d.tar.bz2
qdev: integrate vmstate
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/qdev.h')
-rw-r--r--hw/qdev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/qdev.h b/hw/qdev.h
index b146aa1..6d0d7f4 100644
--- a/hw/qdev.h
+++ b/hw/qdev.h
@@ -111,6 +111,9 @@ struct DeviceInfo {
/* callbacks */
QEMUResetHandler *reset;
+ /* device state */
+ const VMStateDescription *vmsd;
+
/* Private to qdev / bus. */
qdev_initfn init;
BusInfo *bus_info;