Re: [PATCH v8] qapi: introduce 'query-kvm-cpuid' action

2021-06-08 Thread Valeriy Vdovin
On Tue, Jun 08, 2021 at 05:14:16PM +0200, Markus Armbruster wrote: > Double-checking: this supersedes "[PATCH v7 0/1] qapi: introduce > 'query-cpu-model-cpuid' action"? > Yes. I've changed the title in response to the changed api name and just forgot that I should have linked it to the previous ve

Re: [PATCH v8] qapi: introduce 'query-kvm-cpuid' action

2021-06-08 Thread Markus Armbruster
Double-checking: this supersedes "[PATCH v7 0/1] qapi: introduce 'query-cpu-model-cpuid' action"?

Re: [PATCH v8] qapi: introduce 'query-kvm-cpuid' action

2021-06-03 Thread Valeriy Vdovin
On Wed, Jun 02, 2021 at 03:51:02PM -0500, Eric Blake wrote: > On Mon, May 31, 2021 at 03:38:06PM +0300, Valeriy Vdovin wrote: > > Introducing new qapi method 'query-kvm-cpuid'. This method can be used to > > get virtualized cpu model info generated by QEMU during VM initialization in > > the form o

Re: [PATCH v8] qapi: introduce 'query-kvm-cpuid' action

2021-06-02 Thread Philippe Mathieu-Daudé
On 6/2/21 10:46 PM, Eduardo Habkost wrote: > On Wed, Jun 02, 2021 at 08:17:28PM +0200, Philippe Mathieu-Daudé wrote: >> Hi Valeriy, >> >> (Sorry for not looking earlier than v8) >> >> On 5/31/21 2:38 PM, Valeriy Vdovin wrote: >>> Introducing new qapi method 'query-kvm-cpuid'. This method can be use

Re: [PATCH v8] qapi: introduce 'query-kvm-cpuid' action

2021-06-02 Thread Eduardo Habkost
On Wed, Jun 02, 2021 at 03:51:02PM -0500, Eric Blake wrote: > On Mon, May 31, 2021 at 03:38:06PM +0300, Valeriy Vdovin wrote: [...] > > +## > > +# @CpuidEntry: > > +# > > +# A single entry of a CPUID response. > > +# > > +# One entry holds full set of information (leaf) returned to the guest in >

Re: [PATCH v8] qapi: introduce 'query-kvm-cpuid' action

2021-06-02 Thread Eric Blake
On Mon, May 31, 2021 at 03:38:06PM +0300, Valeriy Vdovin wrote: > Introducing new qapi method 'query-kvm-cpuid'. This method can be used to > get virtualized cpu model info generated by QEMU during VM initialization in > the form of cpuid representation. > > > Use example: > qmp_request: { > "e

Re: [PATCH v8] qapi: introduce 'query-kvm-cpuid' action

2021-06-02 Thread Eduardo Habkost
On Wed, Jun 02, 2021 at 08:17:28PM +0200, Philippe Mathieu-Daudé wrote: > Hi Valeriy, > > (Sorry for not looking earlier than v8) > > On 5/31/21 2:38 PM, Valeriy Vdovin wrote: > > Introducing new qapi method 'query-kvm-cpuid'. This method can be used to > > get virtualized cpu model info generate

Re: [PATCH v8] qapi: introduce 'query-kvm-cpuid' action

2021-06-02 Thread Philippe Mathieu-Daudé
Hi Valeriy, (Sorry for not looking earlier than v8) On 5/31/21 2:38 PM, Valeriy Vdovin wrote: > Introducing new qapi method 'query-kvm-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

Re: [PATCH v8] qapi: introduce 'query-kvm-cpuid' action

2021-06-02 Thread Vladimir Sementsov-Ogievskiy
31.05.2021 15:38, Valeriy Vdovin wrote: Introducing new qapi method 'query-kvm-cpuid'. This method can be used to get virtualized cpu model info generated by QEMU during VM initialization in the form of cpuid representation. [..] "ebx": 0, }, { "eax": 13, "edx": 12313841

[PATCH v8] qapi: introduce 'query-kvm-cpuid' action

2021-05-31 Thread Valeriy Vdovin
Introducing new qapi method 'query-kvm-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 there i