From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LN42y-00068x-1C for qemu-devel@nongnu.org; Wed, 14 Jan 2009 06:36:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LN42w-00067q-Fx for qemu-devel@nongnu.org; Wed, 14 Jan 2009 06:36:31 -0500 Received: from [199.232.76.173] (port=55904 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LN42w-00067h-7V for qemu-devel@nongnu.org; Wed, 14 Jan 2009 06:36:30 -0500 Received: from mx2.redhat.com ([66.187.237.31]:53486) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LN42v-00015g-PQ for qemu-devel@nongnu.org; Wed, 14 Jan 2009 06:36:30 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n0EBaSUC017613 for ; Wed, 14 Jan 2009 06:36:29 -0500 Date: Wed, 14 Jan 2009 11:36:26 +0000 From: "Richard W.M. Jones" Message-ID: <20090114113626.GA11468@amd.home.annexia.org> References: <20090114111005.GB31839@amit-x200.pnq.redhat.com> <20090114112938.GA11242@amd.home.annexia.org> <496DCD16.7000300@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <496DCD16.7000300@redhat.com> Subject: [Qemu-devel] Re: Machine-readable or parseable qemu output Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Amit Shah , chrisw@redhat.com, dlaor@redhat.com, qemu-devel@nongnu.org On Wed, Jan 14, 2009 at 01:31:34PM +0200, Avi Kivity wrote: > Richard W.M. Jones wrote: >> We could differentiate based on the qemu prompt. For "machine- >> friendly" releases of qemu, change the prompt slightly so we know. >> > > The machine friendly protocol shouldn't have a prompt at all. Prompts > are human friendly. By machine friendly, I meant a monitor which humans can still use, but which provides some guarantees if a machine is trying to parse the output. The prompt indicating, 'I'm ready for a command'. Anyhow, I'm going to stay out of this debate now ... Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones Read my OCaml programming blog: http://camltastic.blogspot.com/ Fedora now supports 68 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora