Paolo Bonzini
authored
SENSE_CODE(LUN_COMM_FAILURE) has an ABORTED COMMAND sense key, so it results in a retry in Linux. To ensure that EREMOTEIO is forwarded to the guest, use a HARDWARE ERROR sense key instead. Note that the code before commit d7a84021 was incorrect because it used HARDWARE_ERROR as a SCSI status, not as a sense key. Reported-by:Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Name | Last commit | Last update |
---|---|---|
.. | ||
meson.build | ||
pr-helper.h | ||
pr-manager-helper.c | ||
pr-manager-stub.c | ||
pr-manager.c | ||
qemu-pr-helper.c | ||
trace-events | ||
trace.h | ||
utils.c |