* [Qemu-devel] Query CPU model / type
@ 2015-07-15 11:20 Stefan Priebe - Profihost AG
2015-07-15 11:32 ` Andrey Korolyov
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Priebe - Profihost AG @ 2015-07-15 11:20 UTC (permalink / raw)
To: qemu-devel
Hi,
is there a way to query the current cpu model / type of a running qemu
machine?
I mean host, kvm64, qemu64, ...
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Query CPU model / type
2015-07-15 11:20 [Qemu-devel] Query CPU model / type Stefan Priebe - Profihost AG
@ 2015-07-15 11:32 ` Andrey Korolyov
2015-07-15 20:07 ` Stefan Priebe
0 siblings, 1 reply; 5+ messages in thread
From: Andrey Korolyov @ 2015-07-15 11:32 UTC (permalink / raw)
To: Stefan Priebe - Profihost AG; +Cc: qemu-devel
On Wed, Jul 15, 2015 at 2:20 PM, Stefan Priebe - Profihost AG
<s.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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Query CPU model / type
2015-07-15 11:32 ` Andrey Korolyov
@ 2015-07-15 20:07 ` Stefan Priebe
2015-07-15 20:15 ` Andrey Korolyov
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Priebe @ 2015-07-15 20:07 UTC (permalink / raw)
To: Andrey Korolyov; +Cc: qemu-devel
Am 15.07.2015 um 13:32 schrieb Andrey Korolyov:
> On Wed, Jul 15, 2015 at 2:20 PM, Stefan Priebe - Profihost AG
> <s.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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Query CPU model / type
2015-07-15 20:07 ` Stefan Priebe
@ 2015-07-15 20:15 ` Andrey Korolyov
2015-07-15 20:19 ` Stefan Priebe
0 siblings, 1 reply; 5+ messages in thread
From: Andrey Korolyov @ 2015-07-15 20:15 UTC (permalink / raw)
To: Stefan Priebe; +Cc: qemu-devel
On Wed, Jul 15, 2015 at 11:07 PM, Stefan Priebe <s.priebe@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.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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Query CPU model / type
2015-07-15 20:15 ` Andrey Korolyov
@ 2015-07-15 20:19 ` Stefan Priebe
0 siblings, 0 replies; 5+ messages in thread
From: Stefan Priebe @ 2015-07-15 20:19 UTC (permalink / raw)
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 <s.priebe@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.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
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-07-15 20:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-15 11:20 [Qemu-devel] Query CPU model / type Stefan Priebe - Profihost AG
2015-07-15 11:32 ` Andrey Korolyov
2015-07-15 20:07 ` Stefan Priebe
2015-07-15 20:15 ` Andrey Korolyov
2015-07-15 20:19 ` Stefan Priebe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).