From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L115U-0007ZQ-2F for qemu-devel@nongnu.org; Fri, 14 Nov 2008 11:00:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L115S-0007Yi-I0 for qemu-devel@nongnu.org; Fri, 14 Nov 2008 10:59:59 -0500 Received: from [199.232.76.173] (port=60690 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L115S-0007YU-D2 for qemu-devel@nongnu.org; Fri, 14 Nov 2008 10:59:58 -0500 Received: from mx2.redhat.com ([66.187.237.31]:48045) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L115S-0006ri-CJ for qemu-devel@nongnu.org; Fri, 14 Nov 2008 10:59:58 -0500 Subject: Re: [Qemu-devel] [PATCH 5/5] monitor: add "info capabilities" command From: Mark McLoughlin In-Reply-To: <491D4DFA.9000206@redhat.com> References: <> <1226594763-2304-1-git-send-email-markmc@redhat.com> <1226594763-2304-2-git-send-email-markmc@redhat.com> <1226594763-2304-3-git-send-email-markmc@redhat.com> <1226594763-2304-4-git-send-email-markmc@redhat.com> <1226594763-2304-5-git-send-email-markmc@redhat.com> <1226594763-2304-6-git-send-email-markmc@redhat.com> <491D4DFA.9000206@redhat.com> Content-Type: text/plain Date: Fri, 14 Nov 2008 15:58:39 +0000 Message-Id: <1226678319.9332.95.camel@blaa> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: Mark McLoughlin , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel@nongnu.org On Fri, 2008-11-14 at 12:07 +0200, Avi Kivity wrote: > Mark McLoughlin wrote: > > Add a monitor command which allows the user (or management tools) to > > query what features the given qemu binary supports. > > > > The output format is ".ini style" and is intended to list: > > > > 1) New features - e.g. cache=writethrough > > > > 2) Compile time configurables - e.g. built with kqemu support > > > > 3) Magic numbers - e.g. the vcpu limit > > > > The monitor is a late interface -- you need this information to > determine some of the command-line parameters that were used to start > qemu and the monitor! Yes, absolutely. Anthony had earlier suggested the monitor command might be enough because we can do: echo -e 'info capabilities\nquit' | qemu -S -hda /dev/null -monitor stdio -vnc none I would prefer if we also had e.g. qemu -capabilities. Cheers, Mark.