summary refs log tree commit diff stats
path: root/hw/scsi-bus.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-09-25 21:42:34 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-05 09:32:48 -0500
commit131ec1bd7de661f20f178f582430a9d0d0cfa9b4 (patch)
tree4521969fd791e1c1e1822426de656ea4ecb2b391 /hw/scsi-bus.c
parent021f06745901acb7d09ac3aff4aea52495cae730 (diff)
downloadfocaccia-qemu-131ec1bd7de661f20f178f582430a9d0d0cfa9b4.tar.gz
focaccia-qemu-131ec1bd7de661f20f178f582430a9d0d0cfa9b4.zip
qdev: device free fixups.
Two bug fixes:
 * When freeing a device we unregister even stuff we didn't register in
   the first place because the ->init() callback failed.
 * When freeing a device with child busses attached, we fail to zap the
   child bus (and the devices attached to it).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/scsi-bus.c')
0 files changed, 0 insertions, 0 deletions