Skip to content

vDPA support in qemu

Cindy Lu qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 35 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10net: introduce qemu_get_peerinclude/net/net.h net/net.c+7 -02 replies
2/10vhost_net: use the function qemu_get_peerhw/net/vhost_net.c+10 -61 reply
3/10virtio-bus: introduce queue_enabled methodhw/virtio/virtio.c include/hw/virtio/virtio-bus.h+10 -00 replies
4/10virtio-pci: implement queue_enabled methodhw/virtio/virtio-pci.c+18 -04 replies
5/10vhost-backend: export the vhost backend helperhw/virtio/vhost-backend.c include/hw/virtio/vhost-backend.h+37 -92 replies
6/10vhsot_net: introduce set_config & get_config functionhw/net/vhost_net.c include/net/vhost_net.h+16 -02 replies
7/10vhost: introduce new VhostOps vhost_dev_startinclude/hw/virtio/vhost-backend.h+2 -00 replies
8/10vhost: implement vhost_dev_start methodhw/virtio/vhost.c include/hw/virtio/vhost.h+19 -06 replies
9/10vhost-vdpa: introduce vhost-vdpa backendconfigure hw/net/vhost_net.c hw/net/virtio-net.c +8 more+555 -256 replies
10/10vhost-vdpa: introduce vhost-vdpa net clientinclude/net/vhost-vdpa.h include/net/vhost_net.h net/Makefile.objs +4 more+278 -44 replies

Reviews trailers per patch

1 of 10 patches has a Reviewed-by or Acked-by.

PatchLaurent Vivier
1/10
2/10R-b
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 00/10] vDPA support in qemu

vDPA device is a device that uses a datapath which complies with the virtio specifications with vendor specific control path. vDPA devices can be both physically located on the hardware or emulated by software. This RFC introduce the vDPA support in qemu
TODO
1) vIOMMU support
2) live migration support

Cindy Lu (8):
net: introduce qemu_get_peer
vhost_net: use the function qemu_get_peer
vhost-backend: export the vhost backend helper
vhsot_net: introduce set_config & get_config function
vhost: introduce new VhostOps vhost_dev_start
vhost: implement vhost_dev_start method
vhost-vdpa: introduce vhost-vdpa backend
vhost-vdpa: introduce vhost-vdpa net client

Jason Wang (2):
virtio-bus: introduce queue_enabled method
virtio-pci: implement queue_enabled method

 configure                         |  21 ++
 hw/net/vhost_net.c                |  46 +++-
 hw/net/virtio-net.c               |  19 +-
 hw/virtio/Makefile.objs           |   1 +
 hw/virtio/vhost-backend.c         |  40 ++-
 hw/virtio/vhost-vdpa.c            | 406 ++++++++++++++++++++++++++++++
 hw/virtio/vhost.c                 |  59 ++++-
 hw/virtio/virtio-pci.c            |  18 ++
 hw/virtio/virtio.c                |   6 +
 include/hw/virtio/vhost-backend.h |  36 ++-
 include/hw/virtio/vhost-vdpa.h    |  26 ++
 include/hw/virtio/vhost.h         |   8 +
 include/hw/virtio/virtio-bus.h    |   4 +
 include/net/net.h                 |   1 +
 include/net/vhost-vdpa.h          |  21 ++
 include/net/vhost_net.h           |   6 +-
 net/Makefile.objs                 |   2 +-
 net/clients.h                     |   2 +
 net/net.c                         |   9 +
 net/vhost-vdpa.c                  | 230 +++++++++++++++++
 qapi/net.json                     |  23 +-
 qemu-options.hx                   |  12 +
 22 files changed, 952 insertions(+), 44 deletions(-)
 create mode 100644 hw/virtio/vhost-vdpa.c
 create mode 100644 include/hw/virtio/vhost-vdpa.h
 create mode 100644 include/net/vhost-vdpa.h
 create mode 100644 net/vhost-vdpa.c
Signature · 1 line
2.21.1