From: Juergen Gross <jgross@suse.com>
To: qemu-devel@nongnu.org, xen-devel@lists.xensource.com
Cc: kraxel@redhat.com, sstabellini@kernel.org,
anthony.perard@citrix.com, Juergen Gross <jgross@suse.com>
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 [thread overview]
Message-ID: <1466409343-21193-1-git-send-email-jgross@suse.com> (raw)
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
next reply other threads:[~2016-06-20 7:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-20 7:55 Juergen Gross [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1466409343-21193-1-git-send-email-jgross@suse.com \
--to=jgross@suse.com \
--cc=anthony.perard@citrix.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).