[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
- Re: [RFC v2 5/9] vhost-vdpa: implement vhost-vdpa backend, (continued)
- [RFC v2 6/9] virtio-bus: introduce queue_enabled method, Cindy Lu, 2020/05/08
- [RFC v2 7/9] virito-pci: implement queue_enabled method, Cindy Lu, 2020/05/08
- [RFC v2 8/9] vhost_net: set vq ready during start if necessary, Cindy Lu, 2020/05/08
- [RFC v2 9/9] vhost: introduce vhost_set_vring_ready method, Cindy Lu, 2020/05/08
- Re: [RFC v2 0/9] vDPA support in qemu, Jason Wang, 2020/05/08