Received: from eggs.gnu.org ([2001:4830:134:3::10]:53385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpcdF-0003lv-5u for qemu-devel@nongnu.org; Tue, 05 May 2015 09:11:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpcdB-00027e-Vv for qemu-devel@nongnu.org; Tue, 05 May 2015 09:11:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpcdB-00027R-Ph for qemu-devel@nongnu.org; Tue, 05 May 2015 09:11:25 -0400 Date: Tue, 5 May 2015 10:11:15 -0300 From: Eduardo Habkost Message-ID: <20150505131115.GO17796@thinpad.lan.raisama.net> References: <1430146411-34632-1-git-send-email-mimu@linux.vnet.ibm.com> <1430146411-34632-4-git-send-email-mimu@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1430146411-34632-4-git-send-email-mimu@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH v6 03/17] Extend QMP command query-cpus to return accelerator id and model name List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Mueller Cc: Gleb Natapov , qemu-devel@nongnu.org, Alexander Graf , Christian Borntraeger , Daniel Hansel , "Jason J. Herne" , Cornelia Huck , Paolo Bonzini , Andreas Faerber , Richard Henderson On Mon, Apr 27, 2015 at 04:53:17PM +0200, Michael Mueller wrote: > The QMP command query-cpus now additionally displays a model name and > the backing accelerator. Both are omitted if the model name is not > initialized. > > request: > { "execute" : "query-cpus" } > > answer: > { { "current": true, > "CPU": 0, > "model": "2827-ga2", > "halted": false, > "accel": "kvm", > "thread_id": 31917 > }, ... } > > Signed-off-by: Michael Mueller > Acked-by: Christian Borntraeger With the new qom-path field I submitted yesterday, this can be provided as QOM properties through qom-get. -- Eduardo