Re: [PATCH] qom.json: default the prealloc-threads to smp-cpus

2022-11-04 Thread Igor Mammedov
On Fri, 04 Nov 2022 05:53:02 +0100 Markus Armbruster wrote: > Philippe Mathieu-Daudé writes: > > > On 3/11/22 11:47, Zhenyu Zhang wrote: > >> Since the amount of prealloc-threads to smp-cpus is > >> defaulted in hostmem, so sync this information. > > Has this always defaulted to smp-cpus,

Re: [PATCH] qom.json: default the prealloc-threads to smp-cpus

2022-11-04 Thread Zhenyu Zhang
Ok, many thanks for the clarification. I'll post a v2 patch to correct it. On Fri, Nov 4, 2022 at 5:29 PM Philippe Mathieu-Daudé wrote: > > On 4/11/22 02:57, Zhenyu Zhang wrote: > > Hello Philippe > > > > I checked out this modified patch: > >

Re: [PATCH] qom.json: default the prealloc-threads to smp-cpus

2022-11-04 Thread Philippe Mathieu-Daudé
On 4/11/22 02:57, Zhenyu Zhang wrote: Hello Philippe I checked out this modified patch: https://www.mail-archive.com/qemu-devel@nongnu.org/msg15.html It should have been merged in 7.1 This changed the default value, not the property availability. IIUC the '(since X)' format document when

Re: [PATCH] qom.json: default the prealloc-threads to smp-cpus

2022-11-03 Thread Markus Armbruster
Philippe Mathieu-Daudé writes: > On 3/11/22 11:47, Zhenyu Zhang wrote: >> Since the amount of prealloc-threads to smp-cpus is >> defaulted in hostmem, so sync this information. Has this always defaulted to smp-cpus, or did this change along the way? >> Signed-off-by: Zhenyu Zhang >> --- >>

Re: [PATCH] qom.json: default the prealloc-threads to smp-cpus

2022-11-03 Thread Zhenyu Zhang
Hello Philippe I checked out this modified patch: https://www.mail-archive.com/qemu-devel@nongnu.org/msg15.html It should have been merged in 7.1 On Thu, Nov 3, 2022 at 7:00 PM Philippe Mathieu-Daudé wrote: > > On 3/11/22 11:47, Zhenyu Zhang wrote: > > Since the amount of prealloc-threads

Re: [PATCH] qom.json: default the prealloc-threads to smp-cpus

2022-11-03 Thread Philippe Mathieu-Daudé
On 3/11/22 11:47, Zhenyu Zhang wrote: Since the amount of prealloc-threads to smp-cpus is defaulted in hostmem, so sync this information. Signed-off-by: Zhenyu Zhang --- qapi/qom.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qapi/qom.json b/qapi/qom.json index

[PATCH] qom.json: default the prealloc-threads to smp-cpus

2022-11-03 Thread Zhenyu Zhang
Since the amount of prealloc-threads to smp-cpus is defaulted in hostmem, so sync this information. Signed-off-by: Zhenyu Zhang --- qapi/qom.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qapi/qom.json b/qapi/qom.json index 87fcad2423..ac4cd213a7 100644 ---