Skip to contentSkip to conversation

Query CPU model / type

Qemu-devel Stefan Priebe - Profihost AG 2 participants 5 messages Jul 15, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

is there a way to query the current cpu model / type of a running qemu machine?

I mean host, kvm64, qemu64, ...

Stefan

#1 lore raw
Quoted 9 lines · Stefan Priebe - Profihost AG

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.

#2 lore raw

Am 15.07.2015 um 13:32 schrieb Andrey Korolyov:

Quoted 7 lines
Quoted 5 lines · Stefan Priebe - Profihost AG

Hi,

is there a way to query the current cpu model / type of a running qemu machine?

Quoted 8 lines
Quoted 4 lines

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

#3 lore raw
Quoted 20 lines · Stefan Priebe

Am 15.07.2015 um 13:32 schrieb Andrey Korolyov:

Quoted 9 lines
Quoted 6 lines · Stefan Priebe - Profihost AG

Hi,

is there a way to query the current cpu model / type of a running qemu machine?

Quoted 8 lines
Quoted 4 lines

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.

Quoted 4 lines

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.

#4 lore raw

Am 15.07.2015 um 22:15 schrieb Andrey Korolyov:

Quoted 21 lines · Stefan Priebe
Quoted 20 lines

Am 15.07.2015 um 13:32 schrieb Andrey Korolyov:

Quoted 17 lines
Quoted 10 lines · Stefan Priebe - Profihost AG

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.

Quoted 7 lines
Quoted 4 lines

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

Quoted 1 line