qemu/hw/block
Juergen Gross 16246018d3 xen: fix qdisk BLKIF_OP_DISCARD for 32/64 word size mix
In case the word size of the domU and qemu running the qdisk backend
differ BLKIF_OP_DISCARD will not work reliably, as the request
structure in the ring have different layouts for different word size.

Correct this by copying the request structure in case of different
word size element by element in the BLKIF_OP_DISCARD case, too.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
2016-06-22 11:28:17 +01:00
..
dataplane virtio-blk: Remove op blocker for dataplane 2016-06-07 14:40:51 +01:00
Makefile.objs block: Always compile virtio-blk dataplane 2014-09-22 11:39:51 +01:00
block.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
cdrom.c block: Clean up includes 2016-01-20 13:36:23 +01:00
ecc.c block: Clean up includes 2016-01-20 13:36:23 +01:00
fdc.c fdc: Switch to byte-based block access 2016-05-12 15:22:09 +02:00
hd-geometry.c qemu-common: stop including qemu/bswap.h from qemu-common.h 2016-05-19 16:42:28 +02:00
m25p80.c m25p80: fix test on blk_pread() return value 2016-06-16 15:19:55 +02:00
nand.c nand: Switch to byte-based block access 2016-05-12 15:22:09 +02:00
nvme.c dma-helpers: change interface to byte-based 2016-05-25 19:04:11 +02:00
nvme.h util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
onenand.c onenand: Switch to byte-based block access 2016-05-12 15:22:09 +02:00
pflash_cfi01.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
pflash_cfi02.c pflash: Switch to byte-based block access 2016-05-12 15:22:09 +02:00
tc58128.c block: Use DIV_ROUND_UP 2016-06-07 18:19:24 +03:00
trace-events trace: split out trace events for hw/block/ directory 2016-06-20 17:22:15 +01:00
virtio-blk.c virtio: Switch to byte-based aio block access 2016-05-12 15:22:09 +02:00
xen_blkif.h xen: fix qdisk BLKIF_OP_DISCARD for 32/64 word size mix 2016-06-22 11:28:17 +01:00
xen_disk.c os-posix: include sys/mman.h 2016-06-16 18:39:03 +02:00