Re: [PATCH v5 1/4] qapi/machine.json: Add cluster-id

2022-04-19 Thread Gavin Shan
Hi Daniel, On 4/19/22 11:59 PM, Daniel P. Berrangé wrote: On Thu, Apr 14, 2022 at 10:27:25AM +0800, wangyanan (Y) wrote: Hi Gavin, Cc: Daniel and Markus On 2022/4/14 8:06, Gavin Shan wrote: Hi Yanan, On 4/13/22 7:49 PM, wangyanan (Y) wrote: On 2022/4/3 22:59, Gavin Shan wrote: This adds cl

Re: [PATCH v5 1/4] qapi/machine.json: Add cluster-id

2022-04-19 Thread Daniel P . Berrangé
On Thu, Apr 14, 2022 at 10:27:25AM +0800, wangyanan (Y) wrote: > Hi Gavin, > > Cc: Daniel and Markus > On 2022/4/14 8:06, Gavin Shan wrote: > > Hi Yanan, > > > > On 4/13/22 7:49 PM, wangyanan (Y) wrote: > > > On 2022/4/3 22:59, Gavin Shan wrote: > > > > This adds cluster-id in CPU instance proper

Re: [PATCH v5 1/4] qapi/machine.json: Add cluster-id

2022-04-14 Thread wangyanan (Y)
On 2022/4/14 15:56, Gavin Shan wrote: Hi Yanan, On 4/14/22 10:27 AM, wangyanan (Y) wrote: On 2022/4/14 8:06, Gavin Shan wrote: On 4/13/22 7:49 PM, wangyanan (Y) wrote: On 2022/4/3 22:59, Gavin Shan wrote: This adds cluster-id in CPU instance properties, which will be used by arm/virt machine

Re: [PATCH v5 1/4] qapi/machine.json: Add cluster-id

2022-04-14 Thread Gavin Shan
Hi Yanan, On 4/14/22 10:27 AM, wangyanan (Y) wrote: On 2022/4/14 8:06, Gavin Shan wrote: On 4/13/22 7:49 PM, wangyanan (Y) wrote: On 2022/4/3 22:59, Gavin Shan wrote: This adds cluster-id in CPU instance properties, which will be used by arm/virt machine. Besides, the cluster-id is also verif

Re: [PATCH v5 1/4] qapi/machine.json: Add cluster-id

2022-04-13 Thread wangyanan (Y)
Hi Gavin, Cc: Daniel and Markus On 2022/4/14 8:06, Gavin Shan wrote: Hi Yanan, On 4/13/22 7:49 PM, wangyanan (Y) wrote: On 2022/4/3 22:59, Gavin Shan wrote: This adds cluster-id in CPU instance properties, which will be used by arm/virt machine. Besides, the cluster-id is also verified or dum

Re: [PATCH v5 1/4] qapi/machine.json: Add cluster-id

2022-04-13 Thread Gavin Shan
Hi Yanan, On 4/13/22 7:49 PM, wangyanan (Y) wrote: On 2022/4/3 22:59, Gavin Shan wrote: This adds cluster-id in CPU instance properties, which will be used by arm/virt machine. Besides, the cluster-id is also verified or dumped in various spots:    * hw/core/machine.c::machine_set_cpu_numa_nod

Re: [PATCH v5 1/4] qapi/machine.json: Add cluster-id

2022-04-13 Thread wangyanan (Y)
Hi Gavin, On 2022/4/3 22:59, Gavin Shan wrote: This adds cluster-id in CPU instance properties, which will be used by arm/virt machine. Besides, the cluster-id is also verified or dumped in various spots: * hw/core/machine.c::machine_set_cpu_numa_node() to associate CPU with its NUMA no

Re: [PATCH v5 1/4] qapi/machine.json: Add cluster-id

2022-04-04 Thread Gavin Shan
Hi Daniel, On 4/4/22 4:40 PM, Daniel P. Berrangé wrote: On Mon, Apr 04, 2022 at 09:37:10AM +0100, Daniel P. Berrangé wrote: On Sun, Apr 03, 2022 at 10:59:50PM +0800, Gavin Shan wrote: This adds cluster-id in CPU instance properties, which will be used by arm/virt machine. Besides, the cluster-

Re: [PATCH v5 1/4] qapi/machine.json: Add cluster-id

2022-04-04 Thread Daniel P . Berrangé
On Mon, Apr 04, 2022 at 09:37:10AM +0100, Daniel P. Berrangé wrote: > On Sun, Apr 03, 2022 at 10:59:50PM +0800, Gavin Shan wrote: > > This adds cluster-id in CPU instance properties, which will be used > > by arm/virt machine. Besides, the cluster-id is also verified or > > dumped in various spots:

Re: [PATCH v5 1/4] qapi/machine.json: Add cluster-id

2022-04-04 Thread Daniel P . Berrangé
On Sun, Apr 03, 2022 at 10:59:50PM +0800, Gavin Shan wrote: > This adds cluster-id in CPU instance properties, which will be used > by arm/virt machine. Besides, the cluster-id is also verified or > dumped in various spots: > > * hw/core/machine.c::machine_set_cpu_numa_node() to associate >

[PATCH v5 1/4] qapi/machine.json: Add cluster-id

2022-04-03 Thread Gavin Shan
This adds cluster-id in CPU instance properties, which will be used by arm/virt machine. Besides, the cluster-id is also verified or dumped in various spots: * hw/core/machine.c::machine_set_cpu_numa_node() to associate CPU with its NUMA node. * hw/core/machine.c::machine_numa_finish_cpu_