From: David Marchand Subject: [PATCH v2 0/2] ivshmem: update documentation, add client/server tools Date: Sun, 20 Jul 2014 11:38:37 +0200 Message-ID: <1405849119-13569-1-git-send-email-david.marchand@6wind.com> Cc: kvm@vger.kernel.org, pbonzini@redhat.com, claudio.fontana@huawei.com, jani.kokkonen@huawei.com, eblake@redhat.com, cam@cs.ualberta.ca To: qemu-devel@nongnu.org Return-path: Received: from mail-we0-f182.google.com ([74.125.82.182]:61623 "EHLO mail-we0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751066AbaGTJir (ORCPT ); Sun, 20 Jul 2014 05:38:47 -0400 Received: by mail-we0-f182.google.com with SMTP id k48so5113592wev.27 for ; Sun, 20 Jul 2014 02:38:46 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: Here is a patchset containing an update on ivshmem specs documentation and importing ivshmem server and client tools. These tools have been written from scratch and are not related to what is available in nahanni repository. I put them in contrib/ directory as the qemu-doc.texi was already telling the server was supposed to be there. Changes since v1: - moved client/server import patch before doc update, - tried to re-organise the ivshmem_device_spec.txt file based on Claudio comments (still not sure if the result is that great, comments welcome), - incorporated comments from Claudio, Eric and Cam, - added more details on the server <-> client messages exchange (but sorry, no ASCII art here). By the way, there are still some functionnalities that need description (use of ioeventfd, the lack of irqfd support) and some parts of the ivshmem code clearly need cleanup. I will try to address this in future patches when these first patches are ok. -- David Marchand David Marchand (2): contrib: add ivshmem client and server docs: update ivshmem device spec contrib/ivshmem-client/Makefile | 26 ++ contrib/ivshmem-client/ivshmem-client.c | 418 ++++++++++++++++++++++++++++++ contrib/ivshmem-client/ivshmem-client.h | 238 ++++++++++++++++++ contrib/ivshmem-client/main.c | 246 ++++++++++++++++++ contrib/ivshmem-server/Makefile | 26 ++ contrib/ivshmem-server/ivshmem-server.c | 420 +++++++++++++++++++++++++++++++ contrib/ivshmem-server/ivshmem-server.h | 185 ++++++++++++++ contrib/ivshmem-server/main.c | 296 ++++++++++++++++++++++ docs/specs/ivshmem_device_spec.txt | 124 ++++++--- qemu-doc.texi | 10 +- 10 files changed, 1955 insertions(+), 34 deletions(-) create mode 100644 contrib/ivshmem-client/Makefile create mode 100644 contrib/ivshmem-client/ivshmem-client.c create mode 100644 contrib/ivshmem-client/ivshmem-client.h create mode 100644 contrib/ivshmem-client/main.c create mode 100644 contrib/ivshmem-server/Makefile create mode 100644 contrib/ivshmem-server/ivshmem-server.c create mode 100644 contrib/ivshmem-server/ivshmem-server.h create mode 100644 contrib/ivshmem-server/main.c -- 1.7.10.4