qemu/qdev: type safety in reset handler
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 16 Sep 2009 10:40:27 +0000 (13:40 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:50 +0000 (09:32 -0500)
commit2db86915b8ef297acf97b17e6ad31d8c841022fc
tree68577e6d08641474f5dd3ea919e343b68eb14fe1
parentaed5e14f197241976d95212c954fed3c8c1349e2
qemu/qdev: type safety in reset handler

Add type safety to qdev reset handlers, by declaring them as
DeviceState * rather than void *.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev.c
hw/qdev.h
hw/rtl8139.c
hw/tcx.c