Re: [Qemu-devel] Query CPU model / type
On Wed, Jul 15, 2015 at 2:20 PM, Stefan Priebe - Profihost AG s.pri...@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.
Re: [Qemu-devel] Query CPU model / type
Am 15.07.2015 um 13:32 schrieb Andrey Korolyov: On Wed, Jul 15, 2015 at 2:20 PM, Stefan Priebe - Profihost AG s.pri...@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
Re: [Qemu-devel] Query CPU model / type
On Wed, Jul 15, 2015 at 11:07 PM, Stefan Priebe s.pri...@profihost.ag wrote: Am 15.07.2015 um 13:32 schrieb Andrey Korolyov: On Wed, Jul 15, 2015 at 2:20 PM, Stefan Priebe - Profihost AG s.pri...@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.
Re: [Qemu-devel] Query CPU model / type
Am 15.07.2015 um 22:15 schrieb Andrey Korolyov: On Wed, Jul 15, 2015 at 11:07 PM, Stefan Priebe s.pri...@profihost.ag wrote: Am 15.07.2015 um 13:32 schrieb Andrey Korolyov: On Wed, Jul 15, 2015 at 2:20 PM, Stefan Priebe - Profihost AG s.pri...@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