From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:57404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qp0cR-0001Ke-5N for qemu-devel@nongnu.org; Thu, 04 Aug 2011 12:17:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qp0cQ-0006uI-9B for qemu-devel@nongnu.org; Thu, 04 Aug 2011 12:17:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qp0cQ-0006u9-29 for qemu-devel@nongnu.org; Thu, 04 Aug 2011 12:17:58 -0400 Message-ID: <4E3AC631.3070606@redhat.com> Date: Thu, 04 Aug 2011 19:17:53 +0300 From: Avi Kivity MIME-Version: 1.0 References: <1312208590-25502-1-git-send-email-aliguori@us.ibm.com> <1312208590-25502-2-git-send-email-aliguori@us.ibm.com> <4E3AC230.1070109@redhat.com> <4E3AC498.6000404@codemonkey.ws> <4E3AC561.7070902@redhat.com> In-Reply-To: <4E3AC561.7070902@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 01/12] char: rename qemu_chr_write() to qemu_chr_fe_write() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Amit Shah , Hans de Goede , qemu-devel@nongnu.org On 08/04/2011 07:14 PM, Avi Kivity wrote: > > Yes, I'm just talking about the function names, not about the > implementation. > > qemu_chr_fe_write(chr,...) -> qemu_chr_write(chr, ...) > qemu_chr_be_write(chr, ...) -> qemu_chr_write(&chr->backend, ...) > And, if you want an internal pipe: QemuPipeEndpoint pipe1, pipe2; qemu_chr_pipe_init(&pipe0, &pipe1); so clients don't have to choose between frontend and backend. Finally you can connect COM1: to COM2: with a qemu-provided null modem cable! -- error compiling committee.c: too many arguments to function