From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFT98-0005Jd-TK for qemu-devel@nongnu.org; Wed, 15 Jul 2015 16:19:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFT94-0000fP-RV for qemu-devel@nongnu.org; Wed, 15 Jul 2015 16:19:14 -0400 Received: from mail-ph.de-nserver.de ([85.158.179.214]:27001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFT94-0000fF-IU for qemu-devel@nongnu.org; Wed, 15 Jul 2015 16:19:10 -0400 Message-ID: <55A6C04C.6050206@profihost.ag> Date: Wed, 15 Jul 2015 22:19:24 +0200 From: Stefan Priebe MIME-Version: 1.0 References: <55A64207.90207@profihost.ag> <55A6BD8B.303@profihost.ag> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Query CPU model / type List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrey Korolyov Cc: qemu-devel Am 15.07.2015 um 22:15 schrieb Andrey Korolyov: > On Wed, Jul 15, 2015 at 11:07 PM, Stefan Priebe wrote: >> Am 15.07.2015 um 13:32 schrieb Andrey Korolyov: >>> >>> On Wed, Jul 15, 2015 at 2:20 PM, Stefan Priebe - Profihost AG >>> wrote: >>>> >>>> Hi, >>>> >>>> is there a way to query the current cpu model / type of a running qemu >>>> machine? >>>> >>>> I mean host, kvm64, qemu64, ... >>>> >>>> Stefan >>>> >>> >>> I believe that the most proper one would be >>> 'query-command-line-options'. The CPU definitions are not exposed >>> anywhere else in QMP except their list. >> >> >> But this one only lists the possible arguments not the currently passed >> ones? >> >> Stefan > > Sorry, my bad, wrong memories. So there is no way to retrieve > arguments via monitor. and even no current cpu model ;-( pretty bad for migrations. So i'll have to hack the qemu code. Stefan >