Re: [Qemu-devel] [PATCH] dataplane: endian fix in host notification

2015-06-25 Thread Greg Kurz
On Thu, 25 Jun 2015 18:41:31 +0200 Cornelia Huck wrote: > On Thu, 25 Jun 2015 18:34:47 +0200 > Cornelia Huck wrote: > > > On Thu, 25 Jun 2015 17:26:21 +0200 > > Greg Kurz wrote: > > > > > This field comes either LE with virtio 1.0, either guest endian with > > > legacy. > > > It must only be

Re: [Qemu-devel] [PATCH] dataplane: endian fix in host notification

2015-06-25 Thread Greg Kurz
On Thu, 25 Jun 2015 18:34:47 +0200 Cornelia Huck wrote: > On Thu, 25 Jun 2015 17:26:21 +0200 > Greg Kurz wrote: > > > This field comes either LE with virtio 1.0, either guest endian with legacy. > > It must only be accessed with an accessor that knows about the appropriate > > endianness. > > >

Re: [Qemu-devel] [PATCH] dataplane: endian fix in host notification

2015-06-25 Thread Cornelia Huck
On Thu, 25 Jun 2015 18:34:47 +0200 Cornelia Huck wrote: > On Thu, 25 Jun 2015 17:26:21 +0200 > Greg Kurz wrote: > > > This field comes either LE with virtio 1.0, either guest endian with legacy. > > It must only be accessed with an accessor that knows about the appropriate > > endianness. > >

Re: [Qemu-devel] [PATCH] dataplane: endian fix in host notification

2015-06-25 Thread Cornelia Huck
On Thu, 25 Jun 2015 17:26:21 +0200 Greg Kurz wrote: > This field comes either LE with virtio 1.0, either guest endian with legacy. > It must only be accessed with an accessor that knows about the appropriate > endianness. > > Signed-off-by: Greg Kurz > --- > hw/virtio/dataplane/vring.c |2

[Qemu-devel] [PATCH] dataplane: endian fix in host notification

2015-06-25 Thread Greg Kurz
This field comes either LE with virtio 1.0, either guest endian with legacy. It must only be accessed with an accessor that knows about the appropriate endianness. Signed-off-by: Greg Kurz --- hw/virtio/dataplane/vring.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/v