qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC v2 8/9] vhost_net: set vq ready during start if necessary


From: Cindy Lu
Subject: Re: [RFC v2 8/9] vhost_net: set vq ready during start if necessary
Date: Sat, 9 May 2020 14:51:10 +0800

On Sat, May 9, 2020 at 11:04 AM Jason Wang <address@hidden> wrote:
>
>
> On 2020/5/9 上午12:32, Cindy Lu wrote:
> > From: Jason Wang <address@hidden>
> >
> > Signed-off-by: Jason Wang <address@hidden>
> > ---
> >   hw/net/vhost_net.c | 4 ++++
> >   1 file changed, 4 insertions(+)
> >
> > diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c
> > index 1af39abaf3..eff9ec9177 100644
> > --- a/hw/net/vhost_net.c
> > +++ b/hw/net/vhost_net.c
> > @@ -383,6 +383,10 @@ int vhost_net_start(VirtIODevice *dev, NetClientState 
> > *ncs,
> >                   goto err_start;
> >               }
> >           }
> > +
> > +        if (virtio_queue_enabled(dev, i)) {
> > +            vhost_set_vring_ready(peer);
> > +        }
> >       }
> >
> >       return 0;
>
>
> Please place the patch before vhost-vdpa.
>
> Thanks
>
Sure will fix this




reply via email to

[Prev in Thread] Current Thread [Next in Thread]