No description
Find a file
yinyin 1ae2757c6c virtio: virtqueue_get_avail_bytes: fix desc_pa when loop over the indirect descriptor table
virtqueue_get_avail_bytes: when found a indirect desc, we need loop over it.
           /* loop over the indirect descriptor table */
           indirect = 1;
           max = vring_desc_len(desc_pa, i) / sizeof(VRingDesc);
           num_bufs = i = 0;
           desc_pa = vring_desc_addr(desc_pa, i);
But, It init i to 0, then use i to update desc_pa. so we will always get:
desc_pa = vring_desc_addr(desc_pa, 0);
the last two line should swap.

Cc: qemu-stable@nongnu.org
Signed-off-by: Yin Yin <yin.yin@cs2c.com.cn>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-08-25 12:52:33 +03:00
audio
backends
block aio: drop io_flush argument 2013-08-19 15:52:19 +02:00
bsd-user
default-configs default-configs: Fix A9MP and A15MP config names 2013-08-20 14:54:32 +01:00
disas
docs q35: Add PCIe switch to example q35 configuration 2013-08-21 12:39:15 +03:00
dtc@bc895d6d09
fpu
fsdev
gdb-xml
hw virtio: virtqueue_get_avail_bytes: fix desc_pa when loop over the indirect descriptor table 2013-08-25 12:52:33 +03:00
include loader: store FW CFG ROM files in RAM 2013-08-21 00:18:39 +03:00
libcacard
linux-headers
linux-user
net
pc-bios
pixman@97336fad32
po
qapi
qga
QMP
qobject
qom qom: Introduce instance_post_init hook 2013-08-16 18:44:33 +02:00
roms
scripts
slirp
stubs
sysconfigs/target
target-alpha target-alpha: Consider the superpage when threading and ending TBs 2013-08-16 11:17:23 -07:00
target-arm target-arm: Implement the generic timer 2013-08-20 14:54:31 +01:00
target-cris
target-i386 target-i386: Move hyperv_* static globals to X86CPU 2013-08-16 18:44:33 +02:00
target-lm32
target-m68k
target-microblaze
target-mips
target-moxie
target-openrisc
target-ppc
target-s390x
target-sh4
target-sparc
target-unicore32
target-xtensa
tcg
tests Merge remote-tracking branch 'stefanha/block-next' into staging 2013-08-20 09:52:18 -05:00
trace
ui
util qemu-option: Guard against qemu_opts_set_defaults() misuse 2013-08-12 09:15:37 -05:00
.exrc
.gitignore
.gitmodules
.mailmap Change email address 2013-08-19 08:49:37 -05:00
aio-posix.c aio: drop io_flush argument 2013-08-19 15:52:19 +02:00
aio-win32.c aio: drop io_flush argument 2013-08-19 15:52:19 +02:00
arch_init.c arch_init: align MR size to target page size 2013-08-21 00:18:39 +03:00
async.c aio: drop io_flush argument 2013-08-19 15:52:19 +02:00
balloon.c
block-migration.c
block.c block: stop relying on io_flush() in bdrv_drain_all() 2013-08-19 15:45:34 +02:00
blockdev-nbd.c
blockdev.c block: Dont ignore previously set bdrv_flags 2013-08-14 08:34:00 -05:00
blockjob.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure
COPYING
COPYING.LIB
coroutine-gthread.c
coroutine-sigaltstack.c
coroutine-ucontext.c
coroutine-win32.c
cpu-exec.c
cpus.c cpus: Use cpu_is_stopped() efficiently 2013-08-16 18:44:33 +02:00
cputlb.c
device-hotplug.c
device_tree.c
disas.c
dma-helpers.c
dump.c
exec.c
gdbstub.c gdbstub: Fix gdb_register_coprocessor() register counting 2013-08-16 18:44:33 +02:00
HACKING
hmp-commands.hx
hmp.c
hmp.h
iohandler.c
ioport.c
kvm-all.c
kvm-stub.c
LICENSE LICENSE: clarify 2013-08-12 09:15:12 -05:00
main-loop.c aio: drop io_flush argument 2013-08-19 15:52:19 +02:00
MAINTAINERS Change email address 2013-08-19 08:49:37 -05:00
Makefile w32: Add missing version.o to all executables (fix regression) 2013-08-12 09:19:05 -05:00
Makefile.objs w32: Add missing version.o to all executables (fix regression) 2013-08-12 09:19:05 -05:00
Makefile.target
memory.c
memory_mapping.c
migration-exec.c
migration-fd.c
migration-rdma.c rdma: IPv6 over Ethernet (RoCE) is broken in linux - workaround 2013-08-12 09:31:16 -05:00
migration-tcp.c
migration-unix.c
migration.c
monitor.c
nbd.c
os-posix.c
os-win32.c
page_cache.c
qapi-schema.json
qdev-monitor.c
qdict-test-data.txt
qemu-bridge-helper.c
qemu-char.c qemu-char: fix infinite recursion connecting to monitor pty 2013-08-13 13:24:50 -05:00
qemu-coroutine-io.c
qemu-coroutine-lock.c
qemu-coroutine-sleep.c
qemu-coroutine.c
qemu-doc.texi
qemu-img-cmds.hx
qemu-img.c
qemu-img.texi
qemu-io-cmds.c
qemu-io.c
qemu-log.c
qemu-nbd.c
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 rdma: remaining documentation fixes 2013-08-12 09:31:16 -05:00
qmp.c
qtest.c
readline.c
README
rules.mak
savevm.c
spice-qemu-char.c
tcg-runtime.c
tci.c
thread-pool.c aio: drop io_flush argument 2013-08-19 15:52:19 +02:00
thunk.c
tpm.c
trace-events
translate-all.c
translate-all.h
user-exec.c
VERSION Open up 1.7 development branch 2013-08-15 15:41:13 -05:00
version.rc
vl.c
xbzrle.c
xen-all.c
xen-mapcache.c
xen-stub.c

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

- QEMU team