[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v3 0/2] 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.

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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.