aboutsummaryrefslogtreecommitdiff
path: root/hw/qdev.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-09-01 09:56:12 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-09 14:57:20 -0500
commit959f733a296a69564a075d60d8c821ad8e258623 (patch)
treee261867939613c7f7b4887f710bb9a50836e1b92 /hw/qdev.h
parentqdev/scsi+usb: convert usb-storage to qdev. (diff)
downloadqemu-kvm-959f733a296a69564a075d60d8c821ad8e258623.tar.gz
qemu-kvm-959f733a296a69564a075d60d8c821ad8e258623.tar.bz2
qemu-kvm-959f733a296a69564a075d60d8c821ad8e258623.zip
qdev: integrate reset
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 56a0c1f1b..b146aa140 100644
--- a/hw/qdev.h
+++ b/hw/qdev.h
@@ -108,6 +108,9 @@ struct DeviceInfo {
Property *props;
int no_user;
+ /* callbacks */
+ QEMUResetHandler *reset;
+
/* Private to qdev / bus. */
qdev_initfn init;
BusInfo *bus_info;