Re: [PATCH v2] qapi: introduce 'query-cpu-model-cpuid' action

2021-04-02 Thread Valeriy Vdovin
On Wed, Mar 31, 2021 at 11:19:35AM +0200, Igor Mammedov wrote: > On Tue, 30 Mar 2021 12:37:11 +0300 > Valeriy Vdovin wrote: > > > On Tue, Mar 30, 2021 at 02:15:10AM +0200, Igor Mammedov wrote: > > > On Thu, 25 Mar 2021 19:57:05 +0300 > > > Valeriy Vdovin wrote: > > > > > > > Introducing new

Re: [PATCH v2] qapi: introduce 'query-cpu-model-cpuid' action

2021-03-31 Thread Igor Mammedov
On Tue, 30 Mar 2021 12:37:11 +0300 Valeriy Vdovin wrote: > On Tue, Mar 30, 2021 at 02:15:10AM +0200, Igor Mammedov wrote: > > On Thu, 25 Mar 2021 19:57:05 +0300 > > Valeriy Vdovin wrote: > > > > > Introducing new qapi method 'query-cpu-model-cpuid'. This method can be > > > used to > > >

Re: [PATCH v2] qapi: introduce 'query-cpu-model-cpuid' action

2021-03-30 Thread Valeriy Vdovin
On Tue, Mar 30, 2021 at 02:15:10AM +0200, Igor Mammedov wrote: > On Thu, 25 Mar 2021 19:57:05 +0300 > Valeriy Vdovin wrote: > > > Introducing new qapi method 'query-cpu-model-cpuid'. This method can be > > used to > > get virtualized cpu model info generated by QEMU during VM initialization in

Re: [PATCH v2] qapi: introduce 'query-cpu-model-cpuid' action

2021-03-29 Thread Igor Mammedov
On Thu, 25 Mar 2021 19:57:05 +0300 Valeriy Vdovin wrote: > Introducing new qapi method 'query-cpu-model-cpuid'. This method can be used > to > get virtualized cpu model info generated by QEMU during VM initialization in > the form of cpuid representation. > > Diving into more details about

Re: [PATCH v2] qapi: introduce 'query-cpu-model-cpuid' action

2021-03-26 Thread Vladimir Sementsov-Ogievskiy
26.03.2021 18:18, Valeriy Vdovin wrote: Also, we have implementation of qmp_query_cpu_* commands in different architectures.. Probably we'll need add some stubs for the new command as well. Currently I do not have a clear idea of how we could do this, because cpuid is very specific to x86.

Re: [PATCH v2] qapi: introduce 'query-cpu-model-cpuid' action

2021-03-26 Thread Valeriy Vdovin
On Fri, Mar 26, 2021 at 01:01:49PM +0300, Vladimir Sementsov-Ogievskiy wrote: > 25.03.2021 19:57, Valeriy Vdovin wrote: > >Introducing new qapi method 'query-cpu-model-cpuid'. This method can be used > >to > >get virtualized cpu model info generated by QEMU during VM initialization in > >the form

Re: [PATCH v2] qapi: introduce 'query-cpu-model-cpuid' action

2021-03-26 Thread Vladimir Sementsov-Ogievskiy
25.03.2021 19:57, Valeriy Vdovin wrote: Introducing new qapi method 'query-cpu-model-cpuid'. This method can be used to get virtualized cpu model info generated by QEMU during VM initialization in the form of cpuid representation. Diving into more details about virtual cpu generation: QEMU

[PATCH v2] qapi: introduce 'query-cpu-model-cpuid' action

2021-03-25 Thread Valeriy Vdovin
Introducing new qapi method 'query-cpu-model-cpuid'. This method can be used to get virtualized cpu model info generated by QEMU during VM initialization in the form of cpuid representation. Diving into more details about virtual cpu generation: QEMU first parses '-cpu' command line option. From