From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTxXh-0007SO-Qv for qemu-devel@nongnu.org; Mon, 24 Aug 2015 15:36:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTxXe-0004xb-JH for qemu-devel@nongnu.org; Mon, 24 Aug 2015 15:36:29 -0400 Received: from mx-v6.kamp.de ([2a02:248:0:51::16]:45863 helo=mx01.kamp.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTxXe-0004xT-7r for qemu-devel@nongnu.org; Mon, 24 Aug 2015 15:36:26 -0400 Message-ID: <55DB7237.1010509@kamp.de> Date: Mon, 24 Aug 2015 21:36:23 +0200 From: Peter Lieven MIME-Version: 1.0 References: <1440407824-30037-1-git-send-email-pl@kamp.de> <55DB3C6F.3010206@redhat.com> In-Reply-To: <55DB3C6F.3010206@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] target-i386: add a list of enforceable CPU models to the help output List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake , qemu-devel@nongnu.org Cc: pbonzini@redhat.com, rth@twiddle.net, afaerber@suse.de, ehabkost@redhat.com Am 24.08.2015 um 17:46 schrieb Eric Blake: > On 08/24/2015 03:17 AM, Peter Lieven wrote: >> this patch adds a probe that lists all enforceable and migrateable >> CPU models to the -cpu help output. The idea is to know a priory >> which CPU modules can be exposed to the user without loosing any >> feature flags. >> >> Signed-off-by: Peter Lieven >> --- >> target-i386/cpu.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ >> 1 file changed, 49 insertions(+) > Is this same sort of listing available through QMP? Parsing '-cpu help' > output is undesirable from libvirt point of view. > A good point. But is there a QMP command to list available CPU types? In this case it should be easy to extend. But, I wonder how to issue a QMP command before the vserver is actually running? Is there a common way to do it? Peter