From: Cornelia Huck <cornelia.huck@de.ibm.com>
To: Greg Kurz <gkurz@linux.vnet.ibm.com>
Cc: Laurent Vivier <lvivier@redhat.com>,
mst@redhat.com, qemu-stable@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] net: set endianness on all backend devices
Date: Thu, 14 Jan 2016 11:06:32 +0100 [thread overview]
Message-ID: <20160114110632.5691be6f.cornelia.huck@de.ibm.com> (raw)
In-Reply-To: <20160114090149.5aaac498@bahia.huguette.org>
On Thu, 14 Jan 2016 09:01:49 +0100
Greg Kurz <gkurz@linux.vnet.ibm.com> wrote:
> On Wed, 13 Jan 2016 20:26:25 +0100
> Laurent Vivier <lvivier@redhat.com> wrote:
>
> > commit 5be7d9f1b1452613b95c6ba70b8d7ad3d0797991
> > vhost-net: tell tap backend about the vnet endianness
> >
> > makes vhost net to set the endianness of the device, but only for
> > the first device.
> >
> > In case of multiqueue, we have multiple devices... This patch sets the
> > endianness for all the devices of the interface.
> >
> > Signed-off-by: Laurent Vivier <lvivier@redhat.com>
> > ---
>
> Thanks for fixing this bug... it's been there since 2.4.0. I guess we
> should backport this to 2.4 and 2.5. Cc'ing stable.
Agree on backporting this.
> Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
>
> > hw/net/vhost_net.c | 23 +++++++++++------------
> > 1 file changed, 11 insertions(+), 12 deletions(-)
> >
> > diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c
> > index 318c3e6..10e233a 100644
> > --- a/hw/net/vhost_net.c
> > +++ b/hw/net/vhost_net.c
> > @@ -300,21 +300,19 @@ int vhost_net_start(VirtIODevice *dev, NetClientState *ncs,
> > BusState *qbus = BUS(qdev_get_parent_bus(DEVICE(dev)));
> > VirtioBusState *vbus = VIRTIO_BUS(qbus);
> > VirtioBusClass *k = VIRTIO_BUS_GET_CLASS(vbus);
> > - int r, e, i;
> > + int r, e, i, j;
Nice alphabet soup ;)
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
next prev parent reply other threads:[~2016-01-14 10:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-13 19:26 [Qemu-devel] [PATCH] net: set endianness on all backend devices Laurent Vivier
2016-01-14 8:01 ` Greg Kurz
2016-01-14 10:06 ` Cornelia Huck [this message]
2016-01-21 8:42 ` Laurent Vivier
2016-01-22 6:44 ` Jason Wang
2016-01-26 10:53 ` Laurent Vivier
2016-01-26 13:15 ` Greg Kurz
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=20160114110632.5691be6f.cornelia.huck@de.ibm.com \
--to=cornelia.huck@de.ibm.com \
--cc=gkurz@linux.vnet.ibm.com \
--cc=lvivier@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.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 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).