mbox series

[v5,0/6] vhost-vdpa: add support for configure interrupt

Message ID 20210408093824.14985-1-lulu@redhat.com (mailing list archive)
Headers show
Series vhost-vdpa: add support for configure interrupt | expand

Message

Cindy Lu April 8, 2021, 9:38 a.m. UTC
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 

Change in v5
misc fixes form v4
split the code for introduce configure interrupt type and callback fucntion 
will init the configure interrupt in virtio-pci and virtio-mmio bus, but will 
only active while using vhost-vdpa backend


Cindy Lu (6):
  virtio: introduce new type in interrupt process
  vhost: add new call back function for config interrupt
  virtio:add support in configure interrupt
  vhost-vdpa: add support 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                |   9 ++
 hw/net/virtio-net.c               |  21 +++-
 hw/s390x/virtio-ccw.c             |   6 +-
 hw/virtio/trace-events            |   2 +
 hw/virtio/vhost-user-fs.c         |  12 ++-
 hw/virtio/vhost-vdpa.c            |  33 ++++++-
 hw/virtio/vhost-vsock-common.c    |  12 ++-
 hw/virtio/vhost.c                 |  38 +++++++-
 hw/virtio/virtio-crypto.c         |  13 ++-
 hw/virtio/virtio-mmio.c           |  28 +++++-
 hw/virtio/virtio-pci.c            | 157 ++++++++++++++++++++++++------
 hw/virtio/virtio.c                |  25 +++++
 include/hw/virtio/vhost-backend.h |   3 +
 include/hw/virtio/vhost.h         |   3 +
 include/hw/virtio/virtio.h        |  14 ++-
 include/net/vhost_net.h           |   3 +
 17 files changed, 334 insertions(+), 59 deletions(-)