Skip to content
Commit 16246018 authored by Juergen Gross's avatar Juergen Gross Committed by Stefano Stabellini
Browse files

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: default avatarJuergen Gross <jgross@suse.com>
Acked-by: default avatarStefano Stabellini <sstabellini@kernel.org>
Signed-off-by: default avatarStefano Stabellini <sstabellini@kernel.org>
parent 0d8e5894
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment