Go to file
Bin Wu 024d9adc79 hw/scsi/virtio-scsi.c: fix the "type" use error in virtio_scsi_handle_ctrl
The local variable "type" in virtio_scsi_handle_ctl represents the tmf
command type from the guest and it has the same meaning as the
req->req.tmf.type. However, before the invoking of virtio_scsi_parse_req
the req->req.tmf.type doesn't has the correct value(just initialized to
zero). Therefore, we need to use the "type" variable to judge the case.

Cc: qemu-stable@nongnu.org
Signed-off-by: Bin Wu <wu.wubin@huawei.com>
[Actually make it compile, "type" must be uint32_t in order to pass
 it to virtio_tswap32s. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-10-27 16:11:45 +01:00
audio
backends
block block: Make device model's references to BlockBackend strong 2014-10-20 14:03:51 +02:00
bsd-user
default-configs
disas target-mips: remove JR, BLTZAL, BGEZAL and add NAL, BAL instructions 2014-10-14 13:28:52 +01:00
docs block: Rename BlockDriverCompletionFunc to BlockCompletionFunc 2014-10-20 13:41:27 +02:00
dtc@bc895d6d09
fpu softfloat: add functions corresponding to IEEE-2008 min/maxNumMag 2014-10-14 13:28:51 +01:00
fsdev
gdb-xml
hw hw/scsi/virtio-scsi.c: fix the "type" use error in virtio_scsi_handle_ctrl 2014-10-27 16:11:45 +01:00
include sysbus: Use TYPE_DEVICE GPIO functionality 2014-10-23 16:41:26 +02:00
libcacard
libdecnumber
linux-headers
linux-user
net
pc-bios
pixman@87eea99e44
po
qapi
qga qga: Rewrite code where using readdir_r 2014-10-22 07:49:52 -05:00
qobject
qom qom: Demote already-has-a-parent to a regular error 2014-10-23 16:41:25 +02:00
roms
scripts get_maintainer.pl: restrict cases where it falls back to --git 2014-10-23 16:41:27 +02:00
slirp
stubs block: Code motion to get rid of stubs/blockdev.c 2014-10-20 13:41:26 +02:00
sysconfigs/target
target-alpha
target-arm
target-cris
target-i386 target-i386: add Intel AVX-512 support 2014-10-24 18:03:14 +02:00
target-lm32
target-m68k
target-microblaze
target-mips target-mips: Remove unused gen_load_ACX, gen_store_ACX and cpu_ACX 2014-10-14 13:29:15 +01:00
target-moxie
target-openrisc
target-ppc qdev: Drop legacy_name from qdev properties 2014-10-15 05:03:15 +02:00
target-s390x s390x/migration: migrate CPU state 2014-10-10 13:31:51 +02:00
target-sh4
target-sparc
target-tricore target-tricore: Add instructions of BO opcode format 2014-10-20 12:25:07 +01:00
target-unicore32
target-xtensa
tcg
tests block: Rename BlockDriverAIOCB* to BlockAIOCB* 2014-10-20 13:41:27 +02:00
trace
ui gtk: add support for the Pause key 2014-10-15 11:08:32 +02:00
util
.exrc
.gitignore
.gitmodules
.mailmap
.travis.yml
CODING_STYLE
COPYING
COPYING.LIB
Changelog
HACKING
LICENSE
MAINTAINERS MAINTAINERS: avoid M entries that point to mailing lists 2014-10-23 16:41:27 +02:00
Makefile
Makefile.objs qemu-file: Move stdio implementation to qemu-file-stdio.c 2014-10-14 10:29:28 +02:00
Makefile.target bootdevice: move bootdevice related code to new file bootdevice.c 2014-10-15 09:49:48 +02:00
README
VERSION
accel.c
aio-posix.c
aio-win32.c
arch_init.c migration: catch unknown flag combinations in ram_load 2014-10-14 11:24:20 +02:00
async.c
balloon.c
block-migration.c block: Rename BlockDriverAIOCB* to BlockAIOCB* 2014-10-20 13:41:27 +02:00
block.c block: Lift device model API into BlockBackend 2014-10-20 14:03:50 +02:00
blockdev-nbd.c
blockdev.c block: Lift device model API into BlockBackend 2014-10-20 14:03:50 +02:00
blockjob.c block: Rename BlockDriverCompletionFunc to BlockCompletionFunc 2014-10-20 13:41:27 +02:00
bootdevice.c bootindex: change fprintf to error_report 2014-10-15 10:46:01 +02:00
bt-host.c
bt-vhci.c
configure configure: Prepend pixman and ftd flags to overrule system-provided ones 2014-10-15 12:20:27 +02:00
coroutine-gthread.c
coroutine-sigaltstack.c
coroutine-ucontext.c
coroutine-win32.c
cpu-exec.c
cpus.c
cputlb.c
device-hotplug.c blockdev: Eliminate drive_del() 2014-10-20 13:41:26 +02:00
device_tree.c
disas.c
dma-helpers.c hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
dump.c
exec.c
gdbstub.c
hmp-commands.hx
hmp.c
hmp.h
iohandler.c
ioport.c
iothread.c
kvm-all.c kvm fix compilation with GCC 4.3.4 2014-10-10 14:07:08 +01:00
kvm-stub.c
main-loop.c
memory.c
memory_mapping.c
migration-exec.c
migration-fd.c
migration-rdma.c
migration-tcp.c
migration-unix.c
migration.c block/migration: Disable cache invalidate for incoming migration 2014-10-14 09:35:21 +02:00
module-common.c
monitor.c block: Rename BlockDriverCompletionFunc to BlockCompletionFunc 2014-10-20 13:41:27 +02:00
nbd.c block/migration: Disable cache invalidate for incoming migration 2014-10-14 09:35:21 +02:00
numa.c
os-posix.c
os-win32.c
page_cache.c
qapi-schema.json qmp: Print descriptions of object properties 2014-10-15 05:03:15 +02:00
qdev-monitor.c qmp: Print descriptions of object properties 2014-10-15 05:03:15 +02:00
qdict-test-data.txt
qemu-bridge-helper.c
qemu-char.c
qemu-coroutine-io.c
qemu-coroutine-lock.c
qemu-coroutine-sleep.c
qemu-coroutine.c
qemu-doc.texi
qemu-file-stdio.c qemu-file: Move stdio implementation to qemu-file-stdio.c 2014-10-14 10:29:28 +02:00
qemu-file-unix.c qemu-file: Move unix and socket implementations to qemu-file-unix.c 2014-10-14 10:29:28 +02:00
qemu-file.c qemu-file: Move stdio implementation to qemu-file-stdio.c 2014-10-14 10:29:28 +02:00
qemu-img-cmds.hx
qemu-img.c block: Make BlockBackend own its BlockDriverState 2014-10-20 13:41:26 +02:00
qemu-img.texi
qemu-io-cmds.c
qemu-io.c block: Make BlockBackend own its BlockDriverState 2014-10-20 13:41:26 +02:00
qemu-log.c
qemu-nbd.c block: Make BlockBackend own its BlockDriverState 2014-10-20 13:41:26 +02:00
qemu-nbd.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx
qemu-seccomp.c
qemu-tech.texi
qemu-timer.c
qemu.nsi
qemu.sasl
qmp-commands.hx
qmp.c qmp: Print descriptions of object properties 2014-10-15 05:03:15 +02:00
qtest.c qtest: fix qtest log fd should be initialized before qtest chardev 2014-10-23 16:41:27 +02:00
rules.mak
savevm.c
softmmu_template.h
spice-qemu-char.c
tcg-runtime.c
tci.c
thread-pool.c block: Rename BlockDriverCompletionFunc to BlockCompletionFunc 2014-10-20 13:41:27 +02:00
thunk.c
tpm.c
trace-events hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
translate-all.c
translate-all.h
user-exec.c
version.rc
vl.c bootdevice: move bootdevice related code to new file bootdevice.c 2014-10-15 09:49:48 +02:00
vmstate.c vmstate: Allow dynamic allocation for VBUFFER during migration 2014-10-14 09:35:48 +02:00
xbzrle.c
xen-common-stub.c
xen-common.c
xen-hvm-stub.c
xen-hvm.c
xen-mapcache.c

README

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team