diff options
author | Juergen Gross <jgross@suse.com> | 2016-06-20 09:55:43 +0200 |
---|---|---|
committer | Stefano Stabellini <sstabellini@kernel.org> | 2016-06-22 11:28:17 +0100 |
commit | 16246018d3097dc9ce15d07a54360dad03e9a7a6 (patch) | |
tree | 6119e8c4b5751e24a38444c40349da57a70f51cf /hw/xen | |
parent | 0d8e58942a0b0b616bf26c816873102e6d059dc7 (diff) |
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')
0 files changed, 0 insertions, 0 deletions