This patch series adds -device vhost-vsock,guest-cid=<cid> to QEMU.  It uses
the vhost_vsock.ko Linux kernel module for AF_VSOCK socket communications.

There are still a few TODOs in the code which I will resolve.  This is the
latest version for anyone wishing to test or review vsock.

For more information, see http://qemu-project.org/Features/VirtioVsock.

Stefan Hajnoczi (2):
  linux-headers: add virtio vsock headers
  vhost-vsock: add virtio sockets device

 configure                                     |  10 +
 hw/s390x/virtio-ccw.c                         |  54 ++++
 hw/s390x/virtio-ccw.h                         |  15 +
 hw/virtio/Makefile.objs                       |   2 +
 hw/virtio/vhost-backend.c                     |  17 ++
 hw/virtio/vhost-vsock.c                       | 411 ++++++++++++++++++++++++++
 hw/virtio/virtio-pci.c                        |  52 ++++
 hw/virtio/virtio-pci.h                        |  18 ++
 include/hw/pci/pci.h                          |   1 +
 include/hw/virtio/vhost-backend.h             |   5 +
 include/hw/virtio/vhost-vsock.h               |  40 +++
 include/standard-headers/linux/virtio_ids.h   |   1 +
 include/standard-headers/linux/virtio_vsock.h |  94 ++++++
 linux-headers/linux/vhost.h                   |   5 +
 14 files changed, 725 insertions(+)
 create mode 100644 hw/virtio/vhost-vsock.c
 create mode 100644 include/hw/virtio/vhost-vsock.h
 create mode 100644 include/standard-headers/linux/virtio_vsock.h

-- 
2.7.4


Reply via email to