Received: from eggs.gnu.org ([2001:4830:134:3::10]:37571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVhJW-0005gM-9k for qemu-devel@nongnu.org; Fri, 05 Aug 2016 11:45:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVhJT-0004A1-15 for qemu-devel@nongnu.org; Fri, 05 Aug 2016 11:45:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVhJS-00048G-S3 for qemu-devel@nongnu.org; Fri, 05 Aug 2016 11:45:30 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B3DDA7F095 for ; Fri, 5 Aug 2016 15:45:28 +0000 (UTC) From: Stefan Hajnoczi Date: Fri, 5 Aug 2016 16:45:24 +0100 Message-Id: <1470411926-15389-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [RFC 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" , Stefan Hajnoczi This patch series adds -device vhost-vsock,guest-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