[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC v1 0/4] vDPA support in qemu
From: |
Cindy Lu |
Subject: |
[RFC v1 0/4] vDPA support in qemu |
Date: |
Mon, 20 Apr 2020 17:32:37 +0800 |
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
Cindy Lu (3):
net: Introduce qemu_get_peer
vhost-vdpa: introduce vhost-vdpa net client
vhost-vdpa: implement vhost-vdpa backend
Jason Wang (1):
vhost: introduce vhost_set_vring_ready method
hw/net/vhost_net-stub.c | 5 +
hw/net/vhost_net.c | 75 +++++-
hw/net/virtio-net.c | 9 +
hw/virtio/Makefile.objs | 2 +-
hw/virtio/vhost-backend.c | 3 +
hw/virtio/vhost-vdpa.c | 376 ++++++++++++++++++++++++++++++
hw/virtio/vhost.c | 5 +
hw/virtio/virtio-pci.c | 13 ++
hw/virtio/virtio.c | 6 +
include/hw/virtio/vhost-backend.h | 8 +-
include/hw/virtio/vhost-vdpa.h | 14 ++
include/hw/virtio/virtio-bus.h | 4 +
include/net/net.h | 1 +
include/net/vhost-vdpa.h | 18 ++
include/net/vhost_net.h | 2 +
net/Makefile.objs | 2 +-
net/clients.h | 2 +
net/net.c | 7 +
net/vhost-vdpa.c | 211 +++++++++++++++++
qapi/net.json | 21 +-
20 files changed, 773 insertions(+), 11 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
--
2.21.1