[PATCH v4 0/4] vhost-vdpa: add support for configure interrupt

Cindy Lu posted 4 patches 3 years, 1 month ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210323015641.10820-1-lulu@redhat.com
Maintainers: David Hildenbrand <david@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, Thomas Huth <thuth@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, "Gonglei (Arei)" <arei.gonglei@huawei.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Halil Pasic <pasic@linux.ibm.com>, Cornelia Huck <cohuck@redhat.com>, Jason Wang <jasowang@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Christian Borntraeger <borntraeger@de.ibm.com>
There is a newer version of this series
hw/display/vhost-user-gpu.c       |  14 ++-
hw/net/vhost_net.c                |  16 ++-
hw/net/virtio-net.c               |  24 ++++-
hw/s390x/virtio-ccw.c             |   6 +-
hw/virtio/trace-events            |   2 +
hw/virtio/vhost-user-fs.c         |  12 ++-
hw/virtio/vhost-vdpa.c            |  40 ++++++-
hw/virtio/vhost-vsock-common.c    |  12 ++-
hw/virtio/vhost.c                 |  44 +++++++-
hw/virtio/virtio-crypto.c         |  13 ++-
hw/virtio/virtio-mmio.c           |  30 +++++-
hw/virtio/virtio-pci.c            | 171 ++++++++++++++++++++++++------
hw/virtio/virtio.c                |  28 +++++
include/hw/virtio/vhost-backend.h |   4 +
include/hw/virtio/vhost.h         |   4 +
include/hw/virtio/virtio.h        |  23 +++-
include/net/vhost_net.h           |   3 +
17 files changed, 378 insertions(+), 68 deletions(-)
[PATCH v4 0/4] vhost-vdpa: add support for configure interrupt
Posted by Cindy Lu 3 years, 1 month ago
These code are all tested in vp-vdpa (support configure interrupt)
vdpa_sim (not support configure interrupt)

test in virtio-pci bus and virtio-mmio bus

Change in v2:
Add support fot virtio-mmio bus
active the notifier wihle the backend support configure intterrput
misc fixes form v1

Change in v3
fix the coding style problems

Change in v4
misc fixes form v3
merge the set_config_notifier to set_guest_notifier
when vdpa start, check the feature by VIRTIO_NET_F_STATUS 


Cindy Lu (4):
  virtio:add support in configure interrupt
  vhost-vdpa: add callback function for configure interrupt
  virtio-mmio: add support for configure interrupt
  virtio-pci: add support for configure interrupt

 hw/display/vhost-user-gpu.c       |  14 ++-
 hw/net/vhost_net.c                |  16 ++-
 hw/net/virtio-net.c               |  24 ++++-
 hw/s390x/virtio-ccw.c             |   6 +-
 hw/virtio/trace-events            |   2 +
 hw/virtio/vhost-user-fs.c         |  12 ++-
 hw/virtio/vhost-vdpa.c            |  40 ++++++-
 hw/virtio/vhost-vsock-common.c    |  12 ++-
 hw/virtio/vhost.c                 |  44 +++++++-
 hw/virtio/virtio-crypto.c         |  13 ++-
 hw/virtio/virtio-mmio.c           |  30 +++++-
 hw/virtio/virtio-pci.c            | 171 ++++++++++++++++++++++++------
 hw/virtio/virtio.c                |  28 +++++
 include/hw/virtio/vhost-backend.h |   4 +
 include/hw/virtio/vhost.h         |   4 +
 include/hw/virtio/virtio.h        |  23 +++-
 include/net/vhost_net.h           |   3 +
 17 files changed, 378 insertions(+), 68 deletions(-)

-- 
2.21.3