qemu-e2k/include
Paolo Bonzini f68d98b21f scsi: provide general-purpose functions to manage sense data
Extract the common parts of scsi_sense_buf_to_errno, scsi_convert_sense
and scsi_target_send_command's REQUEST SENSE handling into two new
functions scsi_parse_sense_buf and scsi_build_sense_buf.

Fix a bug in scsi_target_send_command along the way; the length was
written in buf[10] rather than buf[7].

Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Fixes: b07fbce634 ("scsi-bus: correct responses for INQUIRY and REQUEST SENSE")
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-12-21 09:30:32 +01:00
..
block hbitmap: add next_zero function 2017-12-18 10:54:13 -05:00
chardev
crypto
disas disas: Dump insn bytes along with capstone disassembly 2017-11-09 08:46:38 +01:00
exec cpu: refactor cpu_address_space_init() 2017-12-21 09:30:31 +01:00
fpu
hw Pull request 2017-12-20 11:30:55 +00:00
io io: introduce a network socket listener API 2017-12-15 15:07:26 +00:00
libdecnumber
migration
monitor
net net: Transmit zero UDP checksum as 0xFFFF 2017-11-20 11:08:00 +08:00
qapi qapi: Add qobject_is_equal() 2017-11-17 18:21:30 +01:00
qemu sockets: remove obsolete code that updated listen address 2017-12-21 09:22:44 +01:00
qom qom: move CPUClass.tcg_initialize to a global 2017-11-13 13:55:25 +00:00
scsi scsi: provide general-purpose functions to manage sense data 2017-12-21 09:30:32 +01:00
standard-headers linux-headers: update to 4.15-rc1 2017-12-13 17:59:23 +00:00
sysemu iothread: fix iothread_stop() race condition 2017-12-19 10:25:09 +00:00
ui ui: generate qcode to linux mappings 2017-12-14 15:24:30 -08:00
elf.h
glib-compat.h glib-compat: move G_SOURCE_CONTINUE/REMOVE there 2017-10-10 16:33:55 +02:00
qemu-common.h Use HTTPS for qemu.org and other domains 2017-11-21 13:34:13 +00:00
qemu-io.h
trace-tcg.h