qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH 0/4] *** Half-cooked vhost-pci implementation patch ***
@ 2016-11-10  2:47 Wei Wang
  2016-11-10  2:47 ` [Qemu-devel] [RFC PATCH 1/4] qemu-char: add the "1-server-N-client" support Wei Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Wei Wang @ 2016-11-10  2:47 UTC (permalink / raw)
  To: marcandre.lureau, mst, stefanha, pbonzini, qemu-devel, virtio-dev
  Cc: Wei Wang

As the design patches to the spec are in discussion, I'm sending out the
draft code to show how the vhost-pci deign works.

Comments on the implementation are also very welcommed. Thanks.

Code base: v2.7.0 (git: df03468cad)

Wei Wang (4):
  qemu-char: add the "1-server-N-client" support
  vhost-user: add the vhost-user extension to support the vhost-pci
    based     inter-vm communication
  vhost-pci-net device support
  vhost-user: extend the vhost-user Master (client) part to support    
    vhost-pci

 hw/net/Makefile.objs                           |   2 +-
 hw/net/vhost-pci-net.c                         | 142 +++++++
 hw/net/vhost_net.c                             |  20 +
 hw/virtio/Makefile.objs                        |   1 +
 hw/virtio/vhost-pci-server.c                   | 469 ++++++++++++++++++++++
 hw/virtio/vhost-user.c                         | 152 ++++----
 hw/virtio/virtio-pci.c                         |  67 ++++
 hw/virtio/virtio-pci.h                         |  14 +
 include/hw/pci/pci.h                           |   1 +
 include/hw/virtio/vhost-backend.h              |   3 +
 include/hw/virtio/vhost-pci-net.h              |  39 ++
 include/hw/virtio/vhost-pci-server.h           |  45 +++
 include/hw/virtio/vhost-user.h                 | 110 ++++++
 include/net/vhost_net.h                        |   5 +
 include/standard-headers/linux/vhost_pci_net.h |  45 +++
 include/standard-headers/linux/virtio_ids.h    |   1 +
 include/sysemu/char.h                          |  64 +++-
 include/sysemu/sysemu.h                        |   1 +
 qapi-schema.json                               |   3 +-
 qemu-char.c                                    | 512 +++++++++++++++++++------
 qemu-options.hx                                |   4 +
 vl.c                                           |  26 ++
 22 files changed, 1517 insertions(+), 209 deletions(-)
 create mode 100644 hw/net/vhost-pci-net.c
 create mode 100644 hw/virtio/vhost-pci-server.c
 create mode 100644 include/hw/virtio/vhost-pci-net.h
 create mode 100644 include/hw/virtio/vhost-pci-server.h
 create mode 100644 include/hw/virtio/vhost-user.h
 create mode 100644 include/standard-headers/linux/vhost_pci_net.h

-- 
2.7.4

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-11-11  8:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-10  2:47 [Qemu-devel] [RFC PATCH 0/4] *** Half-cooked vhost-pci implementation patch *** Wei Wang
2016-11-10  2:47 ` [Qemu-devel] [RFC PATCH 1/4] qemu-char: add the "1-server-N-client" support Wei Wang
2016-11-10 11:38   ` Marc-André Lureau
2016-11-11  8:28     ` Wei Wang
2016-11-10  2:47 ` [Qemu-devel] [RFC PATCH 2/4] vhost-user: add the vhost-user extension to support the vhost-pci based inter-vm communication Wei Wang
2016-11-10 11:36   ` Marc-André Lureau
2016-11-11  8:28     ` Wei Wang
2016-11-10  2:47 ` [Qemu-devel] [RFC PATCH 3/4] vhost-pci-net device support Wei Wang
2016-11-10  2:47 ` [Qemu-devel] [RFC PATCH 4/4] vhost-user: extend the vhost-user Master (client) part to support vhost-pci Wei Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).