Re: [PATCH v1 0/4] vhost-vdpa: add support for configure interrupt
On Thu, Jan 14, 2021 at 12:36 PM Jason Wang wrote: > > > On 2021/1/13 下午11:45, Cindy Lu wrote: > > Add configure interrupt support in vdpa_vhost. qemu will use the irqfd > > process to support this feature. > > > > These code are all tested in vp-vdpa (support configure interrupt) > > vdpa_sim (not support configure interrupt) > > > > > > Cindy Lu (4): > >virtio:add support in configure interrupt > >virtio-pci:add support for configure interrupt > > > If possible, I would like to add the MMIO support for this. > > One great advantage of vDPA is that it can avoid to expose a PCI device > for guest. > > Thanks > Sure, Thanks Jason, I will check this part. > > >vhost_net:enable configure interrupt when vhost_net start > >vhost-vdpa:add callback function for configure interrupt > > > > hw/net/vhost_net.c| 19 ++- > > hw/virtio/trace-events| 2 + > > hw/virtio/vhost-vdpa.c| 29 +- > > hw/virtio/virtio-pci.c| 93 +++ > > hw/virtio/virtio.c| 25 + > > include/hw/virtio/vhost-backend.h | 4 ++ > > include/hw/virtio/virtio-bus.h| 2 + > > include/hw/virtio/virtio.h| 5 ++ > > 8 files changed, 177 insertions(+), 2 deletions(-) > > >
Re: [PATCH v1 0/4] vhost-vdpa: add support for configure interrupt
On 2021/1/13 下午11:45, Cindy Lu wrote: Add configure interrupt support in vdpa_vhost. qemu will use the irqfd process to support this feature. These code are all tested in vp-vdpa (support configure interrupt) vdpa_sim (not support configure interrupt) Cindy Lu (4): virtio:add support in configure interrupt virtio-pci:add support for configure interrupt If possible, I would like to add the MMIO support for this. One great advantage of vDPA is that it can avoid to expose a PCI device for guest. Thanks vhost_net:enable configure interrupt when vhost_net start vhost-vdpa:add callback function for configure interrupt hw/net/vhost_net.c| 19 ++- hw/virtio/trace-events| 2 + hw/virtio/vhost-vdpa.c| 29 +- hw/virtio/virtio-pci.c| 93 +++ hw/virtio/virtio.c| 25 + include/hw/virtio/vhost-backend.h | 4 ++ include/hw/virtio/virtio-bus.h| 2 + include/hw/virtio/virtio.h| 5 ++ 8 files changed, 177 insertions(+), 2 deletions(-)
[PATCH v1 0/4] vhost-vdpa: add support for configure interrupt
Add configure interrupt support in vdpa_vhost. qemu will use the irqfd process to support this feature. These code are all tested in vp-vdpa (support configure interrupt) vdpa_sim (not support configure interrupt) Cindy Lu (4): virtio:add support in configure interrupt virtio-pci:add support for configure interrupt vhost_net:enable configure interrupt when vhost_net start vhost-vdpa:add callback function for configure interrupt hw/net/vhost_net.c| 19 ++- hw/virtio/trace-events| 2 + hw/virtio/vhost-vdpa.c| 29 +- hw/virtio/virtio-pci.c| 93 +++ hw/virtio/virtio.c| 25 + include/hw/virtio/vhost-backend.h | 4 ++ include/hw/virtio/virtio-bus.h| 2 + include/hw/virtio/virtio.h| 5 ++ 8 files changed, 177 insertions(+), 2 deletions(-) -- 2.21.3