summaryrefslogtreecommitdiffstats
path: root/hw/cbus.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-07-02 17:03:55 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-07-26 17:44:08 +0200
commit2f0772c5b4818d4b2078be9dace0036d1030faee (patch)
tree2f6af49673ddcc80bf27e96fafa12b9d10a5f606 /hw/cbus.c
parente2b06058f7a0812729b95bcd4600238165323220 (diff)
downloadhqemu-2f0772c5b4818d4b2078be9dace0036d1030faee.zip
hqemu-2f0772c5b4818d4b2078be9dace0036d1030faee.tar.gz
lsi: use qdev_reset_all
By first resetting the devices, lsi_soft_reset will find the queue already cleared so there is no need to do that forcibly (which may also leak SCSIRequests, and/or worse due to dangling references to the lsi_request in the hba_private field). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/cbus.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud