From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsBid-0004Yp-PU for qemu-devel@nongnu.org; Thu, 06 Oct 2016 12:40:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsBiY-0001pC-Nl for qemu-devel@nongnu.org; Thu, 06 Oct 2016 12:40:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsBiY-0001p6-HD for qemu-devel@nongnu.org; Thu, 06 Oct 2016 12:40:22 -0400 From: Stefan Hajnoczi Date: Thu, 6 Oct 2016 17:40:14 +0100 Message-Id: <1475772018-27484-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] qga: add vsock-listen List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Michael Roth , Stefan Hajnoczi This patch series adds virtio-vsock support to the QEMU guest agent. $ qemu-system-x86_64 -device vhost-vsock-pci,guest-cid=3 ... (guest)# qemu-ga -m vsock-listen -p 3:1234 You can interact with the qga monitor using the nc-vsock utility: https://raw.githubusercontent.com/stefanha/linux/dd0d6a2aa62c0fd6cdc9dbd4b3dc4bfd0828c329/nc-vsock.c $ nc-vsock 3 1234 {'execute': 'guest-info'} ... For more information about virtio-vsock, see http://qemu-project.org/Features/VirtioVsock. Stefan Hajnoczi (4): qga: drop unused sockaddr in accept(2) call qga: drop unnecessary GA_CHANNEL_UNIX_LISTEN checks sockets: add AF_VSOCK support qga: add vsock-listen method qapi-schema.json | 23 +++++- qga/channel-posix.c | 36 +++++++-- qga/channel.h | 1 + qga/main.c | 6 +- util/qemu-sockets.c | 222 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 277 insertions(+), 11 deletions(-) -- 2.7.4