All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Durrant <Paul.Durrant@citrix.com>
To: Juergen Gross <jgross@suse.com>, Jan Beulich <JBeulich@suse.com>
Cc: Anthony Perard <anthony.perard@citrix.com>,
	xen-devel <xen-devel@lists.xenproject.org>,
	"sstabellini@kernel.org" <sstabellini@kernel.org>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"kraxel@redhat.com" <kraxel@redhat.com>
Subject: Re: [Qemu-devel] [Xen-devel] [PATCH v2] xen: fix qdisk BLKIF_OP_DISCARD for 32/64 word size mix
Date: Fri, 17 Jun 2016 09:35:17 +0000	[thread overview]
Message-ID: <98ba14579ad74736b0d1a3906a633600@AMSPEX02CL03.citrite.net> (raw)
In-Reply-To: <5763C36E.4060002@suse.com>

> -----Original Message-----
> From: Xen-devel [mailto:xen-devel-bounces@lists.xen.org] On Behalf Of
> Juergen Gross
> Sent: 17 June 2016 10:31
> To: Jan Beulich
> Cc: Anthony Perard; xen-devel; sstabellini@kernel.org; qemu-
> devel@nongnu.org; kraxel@redhat.com
> Subject: Re: [Xen-devel] [PATCH v2] xen: fix qdisk BLKIF_OP_DISCARD for
> 32/64 word size mix
> 
> On 17/06/16 11:26, Jan Beulich wrote:
> >>>> On 17.06.16 at 11:14, <JGross@suse.com> wrote:
> >> 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.
> >>
> >> The easiest way to achieve this is to resync hw/block/xen_blkif.h with
> >> its original source from the Linux kernel.
> >>
> >> Signed-off-by: Juergen Gross <jgross@suse.com>
> >> ---
> >> V2: resync with Linux kernel version of hw/block/xen_blkif.h as
> >>     suggested by Paul Durrant
> >
> > Oh, I didn't realize he suggested syncing with the Linux variant.
> > Why not with the canonical one? I have to admit that I particularly
> > dislike Linux'es strange union-izng, mainly because of it requiring
> > this myriad of __attribute__((__packed__)).
> 
> What would be gained by syncing with the canonical one? The part to be
> modified is available in the Linux variant only.
>

So there's something in the Linux variant that's not in the canonical header?! Well that needs to be fixed first and then, yes, I did mean re-sync with the canonical header.

  Paul
 
> 
> Juergen
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  parent reply	other threads:[~2016-06-17  9:44 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-17  9:14 [Qemu-devel] [PATCH v2] xen: fix qdisk BLKIF_OP_DISCARD for 32/64 word size mix Juergen Gross
2016-06-17  9:14 ` Juergen Gross
2016-06-17  9:26 ` Jan Beulich
2016-06-17  9:26 ` [Qemu-devel] [Xen-devel] " Jan Beulich
2016-06-17  9:37   ` Paul Durrant
2016-06-17  9:37   ` [Qemu-devel] [Xen-devel] " Paul Durrant
2016-06-17  9:45     ` Juergen Gross
2016-06-17  9:50       ` Paul Durrant
2016-06-17  9:50       ` [Qemu-devel] [Xen-devel] " Paul Durrant
2016-06-17 10:08         ` Juergen Gross
2016-06-17 10:15           ` Paul Durrant
2016-06-17 10:15             ` Paul Durrant
2016-06-17 10:40             ` [Qemu-devel] [Xen-devel] " Juergen Gross
2016-06-17 10:40               ` Juergen Gross
2016-06-17 10:53               ` Paul Durrant
2016-06-17 10:53               ` [Qemu-devel] [Xen-devel] " Paul Durrant
2016-06-17 16:10                 ` Stefano Stabellini
2016-06-17 16:10                   ` Stefano Stabellini
2016-06-20  6:02                   ` [Qemu-devel] [Xen-devel] " Juergen Gross
2016-06-20  9:40                     ` Stefano Stabellini
2016-06-20  9:40                     ` Stefano Stabellini
2016-06-20  6:02                   ` Juergen Gross
2016-06-17 10:20           ` Jan Beulich
2016-06-17 10:20           ` [Qemu-devel] [Xen-devel] " Jan Beulich
2016-06-17 10:08         ` Juergen Gross
2016-06-17  9:45     ` Juergen Gross
     [not found] ` <5763DE5D02000078000F5FF8@suse.com>
2016-06-17  9:31   ` [Qemu-devel] [Xen-devel] " Juergen Gross
2016-06-17  9:35     ` Paul Durrant
2016-06-17  9:35     ` Paul Durrant [this message]
2016-06-17  9:41     ` Jan Beulich
2016-06-17  9:41     ` [Qemu-devel] [Xen-devel] " Jan Beulich
2016-06-17  9:31   ` Juergen Gross

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=98ba14579ad74736b0d1a3906a633600@AMSPEX02CL03.citrite.net \
    --to=paul.durrant@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=anthony.perard@citrix.com \
    --cc=jgross@suse.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.