qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] xen: fix qdisk BLKIF_OP_DISCARD for 32/64 word size mix
@ 2016-06-20  7:55 Juergen Gross
  2016-06-20  7:55 ` [Qemu-devel] [PATCH v3 1/2] xen: fix style of hw/block/xen_blkif.h Juergen Gross
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Juergen Gross @ 2016-06-20  7:55 UTC (permalink / raw)
  To: qemu-devel, xen-devel; +Cc: kraxel, sstabellini, anthony.perard, Juergen Gross

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-06-20  9:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-20  7:55 [Qemu-devel] [PATCH v3 0/2] xen: fix qdisk BLKIF_OP_DISCARD for 32/64 word size mix Juergen Gross
2016-06-20  7:55 ` [Qemu-devel] [PATCH v3 1/2] xen: fix style of hw/block/xen_blkif.h Juergen Gross
2016-06-20  9:48   ` Stefano Stabellini
2016-06-20  7:55 ` [Qemu-devel] [PATCH v3 2/2] xen: fix qdisk BLKIF_OP_DISCARD for 32/64 word size mix Juergen Gross
2016-06-20  9:52   ` Stefano Stabellini
2016-06-20  9:53 ` [Qemu-devel] [PATCH v3 0/2] " Stefano Stabellini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).