Add exit callback to DeviceInfo.
commitd29275f10382844e000ddaafaddc6780555e8d83
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 25 Sep 2009 19:42:35 +0000 (25 21:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:48 +0000 (5 09:32 -0500)
tree48038e49e6c211226a7dfaab7f349ebf4ecf0d23
parent131ec1bd7de661f20f178f582430a9d0d0cfa9b4
Add exit callback to DeviceInfo.

This adds a exit callback for device destruction to DeviceInfo, so
we can hook cleanups into qdev device destruction.

Followup patches will put that into use.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev.c
hw/qdev.h