summaryrefslogtreecommitdiffstats
path: root/hw/xen/xen_backend.c
diff options
context:
space:
mode:
authorJuergen Gross2016-06-20 09:55:43 +0200
committerStefano Stabellini2016-06-22 12:28:17 +0200
commit16246018d3097dc9ce15d07a54360dad03e9a7a6 (patch)
tree6119e8c4b5751e24a38444c40349da57a70f51cf /hw/xen/xen_backend.c
parentxen: fix style of hw/block/xen_blkif.h (diff)
downloadqemu-16246018d3097dc9ce15d07a54360dad03e9a7a6.tar.gz
qemu-16246018d3097dc9ce15d07a54360dad03e9a7a6.tar.xz
qemu-16246018d3097dc9ce15d07a54360dad03e9a7a6.zip
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>
Diffstat (limited to 'hw/xen/xen_backend.c')
0 files changed, 0 insertions, 0 deletions