[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 0/2] xen: fix qdisk BLKIF_OP_DISCARD for 32/64 wo
From: |
Juergen Gross |
Subject: |
[Qemu-devel] [PATCH v3 0/2] xen: fix qdisk BLKIF_OP_DISCARD for 32/64 word size mix |
Date: |
Mon, 20 Jun 2016 09:55:41 +0200 |
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.
Changes in V3:
- revert V2
- add patch 1 to use qemu coding style for hw/block/xen_blkif.h
Changes in V2:
- resync with Linux kernel version of hw/block/xen_blkif.h as
suggested by Paul Durrant
Juergen Gross (2):
xen: fix style of hw/block/xen_blkif.h
xen: fix qdisk BLKIF_OP_DISCARD for 32/64 word size mix
hw/block/xen_blkif.h | 167 ++++++++++++++++++++++++++++++---------------------
1 file changed, 97 insertions(+), 70 deletions(-)
--
2.6.6
- [Qemu-devel] [PATCH v3 0/2] xen: fix qdisk BLKIF_OP_DISCARD for 32/64 word size mix,
Juergen Gross <=