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

2021-04-19 Thread Eduardo Habkost
On Mon, Mar 29, 2021 at 03:41:34PM +0300, Vladimir Sementsov-Ogievskiy wrote: > 29.03.2021 14:48, Daniel P. Berrangé wrote: [...] > > > > There's feels like there's a lot of conceptual overlap with the > > > > query-cpu-model-expansion command. That reports in a arch independant > > > > format, but

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

2021-04-14 Thread Vladimir Sementsov-Ogievskiy
26.03.2021 20:30, 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 first

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

2021-03-29 Thread Vladimir Sementsov-Ogievskiy
29.03.2021 14:48, Daniel P. Berrangé wrote: On Mon, Mar 29, 2021 at 02:21:53PM +0300, Valeriy Vdovin wrote: On Mon, Mar 29, 2021 at 10:20:54AM +0100, Daniel P. Berrang?? wrote: On Fri, Mar 26, 2021 at 08:30:00PM +0300, Valeriy Vdovin wrote: Other than debug, the method is useful in cases when

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

2021-03-29 Thread Daniel P . Berrangé
On Mon, Mar 29, 2021 at 02:21:53PM +0300, Valeriy Vdovin wrote: > On Mon, Mar 29, 2021 at 10:20:54AM +0100, Daniel P. Berrang?? wrote: > > On Fri, Mar 26, 2021 at 08:30:00PM +0300, Valeriy Vdovin wrote: > > > Other than debug, the method is useful in cases when we would like to > > > utilize QEMU's

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

2021-03-29 Thread Valeriy Vdovin
On Mon, Mar 29, 2021 at 10:20:54AM +0100, Daniel P. Berrang?? wrote: > On Fri, Mar 26, 2021 at 08:30:00PM +0300, Valeriy Vdovin wrote: > > Other than debug, the method is useful in cases when we would like to > > utilize QEMU's virtual cpu initialization routines and put the retrieved > > values in

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

2021-03-29 Thread Daniel P . Berrangé
On Fri, Mar 26, 2021 at 08:30:00PM +0300, Valeriy Vdovin wrote: > Other than debug, the method is useful in cases when we would like to > utilize QEMU's virtual cpu initialization routines and put the retrieved > values into kernel CPUID overriding mechanics for more precise control > over how vari

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

2021-03-26 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 t