Received: from eggs.gnu.org ([2001:4830:134:3::10]:38927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZdSt-0008RP-Cp for qemu-devel@nongnu.org; Tue, 16 Aug 2016 08:27:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZdSn-0006UG-IU for qemu-devel@nongnu.org; Tue, 16 Aug 2016 08:27:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZdSn-0006UC-DA for qemu-devel@nongnu.org; Tue, 16 Aug 2016 08:27:25 -0400 From: Stefan Hajnoczi Date: Tue, 16 Aug 2016 13:27:20 +0100 Message-Id: <1471350442-7295-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH for-2.8 0/2] vhost-vsock: add vhost-vsock device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , Christoffer Dall , =?UTF-8?q?Alex=20Benn=C3=A9e?= , marius vlad , Claudio Imbrenda , Greg Kurz , Ian Campbell , Stefan Hajnoczi This patch series adds -device vhost-vsock,guest-cid= to QEMU. The vsock device is a host-guest communications device comparable to virtio-serial except it offers POSIX Sockets API semantics. It uses the vhost_vsock.ko Linux kernel module for AF_VSOCK socket communications. The kernel module was merged for Linux 4.8 in commit 0803e04011c. Host applications use regular POSIX Sockets API syscalls to communicate with guests. 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 | 417 ++++++++++++++++++++++++++ hw/virtio/virtio-pci.c | 51 ++++ 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 | 41 +++ 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, 731 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