[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [Qemu-devel] [PATCH] net: set endianness on all backen
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-stable] [Qemu-devel] [PATCH] net: set endianness on all backend devices |
Date: |
Thu, 14 Jan 2016 11:06:32 +0100 |
On Thu, 14 Jan 2016 09:01:49 +0100
Greg Kurz <address@hidden> wrote:
> On Wed, 13 Jan 2016 20:26:25 +0100
> Laurent Vivier <address@hidden> 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 <address@hidden>
> > ---
>
> 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 <address@hidden>
>
> > 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 <address@hidden>