From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:43139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RY3sZ-0004xS-Iy for qemu-devel@nongnu.org; Tue, 06 Dec 2011 17:52:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RY3sY-00035P-8J for qemu-devel@nongnu.org; Tue, 06 Dec 2011 17:52:51 -0500 Received: from mail-iy0-f173.google.com ([209.85.210.173]:43158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RY3sY-00035H-5F for qemu-devel@nongnu.org; Tue, 06 Dec 2011 17:52:50 -0500 Received: by iafj26 with SMTP id j26so780905iaf.4 for ; Tue, 06 Dec 2011 14:52:49 -0800 (PST) Message-ID: <4EDE9CBE.9080707@codemonkey.ws> Date: Tue, 06 Dec 2011 16:52:46 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <20111205222208.31271.65662.stgit@ginnungagap.bsc.es> In-Reply-To: <20111205222208.31271.65662.stgit@ginnungagap.bsc.es> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v2 0/5] backdoor: lightweight guest-to-QEMU backdoor channel List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?TGx1w61zIFZpbGFub3Zh?= Cc: Blue Swirl , Zhi Yong Wu , qemu-devel@nongnu.org On 12/05/2011 04:22 PM, Lluís Vilanova wrote: > Provides the ability for the guest to communicate with user-provided code inside > QEMU itself, using a lightweight mechanism. > > See first commit for a full description. > > Signed-off-by: Lluís Vilanova This whole series: Nacked-by: Anthony Liguori If you want to extend QEMU, then send proper patches. Adding random C files to the build is unacceptable. Regards, Anthony Liguori > --- > > Changes in v2: > > * Rebase on 1c8a881daaca6fe0646a425b0970fb3ad25f6732 from master. > * Multiple documentation fixes and clarifications. > * Fixed a couple of bugs when freeing memory. > * Actually call 'backdoor_fini' in user mode when exiting. > * Try to auto-detect the backdoor device in the example guest library when > running a full-system linux. > * Rewrite code to read and write into the control channel in softmmu mode, > making it much clearer and leaving endianness handling up to the user-provided > backdoor callbacks. > > > Lluís Vilanova (5): > backdoor: Add documentation > backdoor: Add build infrastructure > backdoor: [*-user] Add QEMU-side proxy to "libbackdoor.a" > backdoor: [softmmu] Add QEMU-side proxy to "libbackdoor.a" > backdoor: Add guest-side library > > > Makefile | 4 + > Makefile.objs | 21 ++++ > Makefile.target | 4 + > backdoor/guest/Makefile | 18 ++++ > backdoor/guest/common.c | 205 ++++++++++++++++++++++++++++++++++++++++ > backdoor/guest/qemu-backdoor.h | 59 ++++++++++++ > backdoor/qemu/qemu-backdoor.h | 31 ++++++ > backdoor/qemu/softmmu.c | 186 ++++++++++++++++++++++++++++++++++++ > backdoor/qemu/user.c | 202 +++++++++++++++++++++++++++++++++++++++ > backdoor/qemu/user.h | 30 ++++++ > bsd-user/main.c | 26 +++++ > bsd-user/mmap.c | 7 + > bsd-user/syscall.c | 13 +++ > configure | 35 +++++++ > darwin-user/main.c | 26 +++++ > darwin-user/mmap.c | 7 + > docs/backdoor.txt | 167 +++++++++++++++++++++++++++++++++ > hw/pci.h | 1 > linux-user/main.c | 32 ++++++ > linux-user/mmap.c | 7 + > linux-user/syscall.c | 10 ++ > 21 files changed, 1089 insertions(+), 2 deletions(-) > create mode 100644 backdoor/guest/Makefile > create mode 100644 backdoor/guest/common.c > create mode 100644 backdoor/guest/qemu-backdoor.h > create mode 100644 backdoor/qemu/qemu-backdoor.h > create mode 100644 backdoor/qemu/softmmu.c > create mode 100644 backdoor/qemu/user.c > create mode 100644 backdoor/qemu/user.h > create mode 100644 docs/backdoor.txt > >