diff options
| author | Isaku Yamahata <yamahata@valinux.co.jp> | 2010-11-19 18:56:01 +0900 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2010-11-22 10:00:07 +0200 |
| commit | 5af0a04bea1f1704432b7c118c00a466e862bf00 (patch) | |
| tree | cadd0eaaeb25d23e4382a0eeb4f0f0236067825b /hw/qdev.h | |
| parent | b4694b7ce8bd87c4b9c6c14ad74075a31b15c784 (diff) | |
| download | focaccia-qemu-5af0a04bea1f1704432b7c118c00a466e862bf00.tar.gz focaccia-qemu-5af0a04bea1f1704432b7c118c00a466e862bf00.zip | |
qdev: trigger reset from a given device
Introduce a helper function which triggers reset from a given device. Will be used by pci bus emulation. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/qdev.h')
| -rw-r--r-- | hw/qdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/qdev.h b/hw/qdev.h index 5ac084f7de..3fac364c6b 100644 --- a/hw/qdev.h +++ b/hw/qdev.h @@ -189,6 +189,7 @@ int qbus_walk_children(BusState *bus, qdev_walkerfn *devfn, qbus_walkerfn *busfn, void *opaque); int qdev_walk_children(DeviceState *dev, qdev_walkerfn *devfn, qbus_walkerfn *busfn, void *opaque); +void qdev_reset_all(DeviceState *dev); void qbus_reset_all(BusState *bus); void qbus_free(BusState *bus); |