iscsi: do not leak acb->buf when commands are aborted
acb->buf is freed in the WRITE callback, but this may notget called at all when commands are aborted. Add anotherfree in the ABORT TASK callback, which requires setting acb->bufto NULL everywhere....
iscsi: add support for iovectors
This patch adds support for directly passing the iovecarray from QEMUIOVector if libiscsi supports it (1.8.0or newer).
Signed-off-by: Peter Lieven <pl@kamp.de>[Preserve the improvements from commit 4cc841b, iscsi: partly...
target-cris: Fix typo in D_LOG() macro
It's VA_ARGS. Fixes the build with CRIS_[OP_]HELPER_DEBUG defined.
Broken since r6338 / 93fcfe39a0383377e647b821c9f165fd927cd4e0 (Convertreferences to logfile/loglevel to use qemu_log*() macros).
Cc: Eduardo Habkost <ehabkost@redhat.com>...
trivial: etraxfs_eth: Eliminate checkpatch errors
This is a trivial patch to harmonize the coding style onhw/etraxfs_eth.c. This is in preparation to split off the bitbang mdiocode into a separate file.
Cc: Peter Maydell <peter.maydell@linaro.org>Cc: Paul Brook <paul@codesourcery.com>...
Merge remote-tracking branch 'bonzini/scsi-next' into staging
Merge remote-tracking branch 'kraxel/usb.77' into staging
Merge remote-tracking branch 'spice/spice.v68' into staging
scsi: fix segfault with 0-byte disk
When a 0-sized disk is found, READ CAPACITY will return aLUN NOT READY error. However, because it returns -1 insteadof zero, the HBA will call scsi_req_continue. This willtypically cause a segmentation fault or an assertion failure....
lsi: use qbus_reset_all to reset SCSI bus
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scsi: Drop useless null test in scsi_unit_attention()
req was created by scsi_req_alloc(), which initializes req->dev to avalue it dereferences. req->dev isn't changed anywhere else.Therefore, req->dev can't be null.
Drop the useless null test; it spooks Coverity....
View all revisions | View revisions
Also available in: Atom