From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdOVo-0003sX-BS for qemu-devel@nongnu.org; Mon, 04 Nov 2013 13:04:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdOVi-00015S-5N for qemu-devel@nongnu.org; Mon, 04 Nov 2013 13:04:28 -0500 Message-ID: <5277E002.5060008@redhat.com> Date: Mon, 04 Nov 2013 18:57:22 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1381164805-452-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <5277A0EA.8050608@siemens.com> <49782D9E-55C2-4D29-843C-46357C565127@suse.de> <5277DC2D.1090004@suse.de> In-Reply-To: <5277DC2D.1090004@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] kvm: Add a new machine property kvm_type List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?Andreas_F=E4rber?= Cc: Jan Kiszka , QEMU Developers , Alexander Graf , qemu-ppc , "Aneesh Kumar K.V" , Anthony Liguori , Paul Mackerras Il 04/11/2013 18:41, Andreas F=E4rber ha scritto: >> > I agree that we need some way to programmatically list all machine o= ptions. > I wonder if it would make sense to mirror all -machine options as > dynamic properties on /machine? :) > Their addition could still be driven by the declarative format. > We could then easily not only list but also inspect the values of those > options at runtime. Yes, I agree. Perhaps not all of them however; probably not accel=3D and probably not kvm_type too. In fact, what I don't like about this patch is that it doesn't really feel "right" to put it in -machine. On the other hand we definitely do not want to split it further to -accel. Oh well, it seems like designing the right command-line interface is the hardest part of doing QEMU. Paolo > It wouldn't immediately solve Jan's documentation problem, but that's > more general than just -machine, isn't it? >=20 > CC'ing Anthony and Paolo.