From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buyMV-000240-3j for qemu-devel@nongnu.org; Fri, 14 Oct 2016 05:01:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buyMO-0006F0-DE for qemu-devel@nongnu.org; Fri, 14 Oct 2016 05:01:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buyMO-0006Eq-6n for qemu-devel@nongnu.org; Fri, 14 Oct 2016 05:01:00 -0400 From: Stefan Hajnoczi Date: Fri, 14 Oct 2016 10:00:52 +0100 Message-Id: <1476435656-3100-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH v2 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 v2: * s/seasy/easy/ typo fix in commit description [Eric] * Use %n to check for trailing characters in addresses [Eric] * Added Mike's R-b 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 | 227 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 282 insertions(+), 11 deletions(-) -- 2.7.4