回复: [PATCH RFC V3 02/29] cpu-common: Add common CPU utility for possible vCPUs

2024-08-11 Thread liu ping
...@opnsrc.net ; zhukeqi...@huawei.com ; wangxiongfe...@huawei.com ; wangyana...@huawei.com ; jiakern...@gmail.com ; maob...@loongson.cn ; lixiang...@loongson.cn ; shahu...@redhat.com ; zhao1@intel.com ; linux...@huawei.com 主题: Re: [PATCH RFC V3 02/29] cpu-common: Add common CPU utility for

Re: [PATCH RFC V3 02/29] cpu-common: Add common CPU utility for possible vCPUs

2024-08-11 Thread Gavin Shan
On 6/14/24 9:36 AM, Salil Mehta wrote: This patch adds various utility functions that may be required to fetch or check the state of possible vCPUs. It also introduces the concept of *disabled* vCPUs, which are part of the *possible* vCPUs but are not enabled. This state will be used during machi

Re: [PATCH RFC V3 02/29] cpu-common: Add common CPU utility for possible vCPUs

2024-07-03 Thread Nicholas Piggin
On Fri Jun 14, 2024 at 9:36 AM AEST, Salil Mehta wrote: [...] > diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h > index 60b160d0b4..60b4778da9 100644 > --- a/include/hw/core/cpu.h > +++ b/include/hw/core/cpu.h [...] > +/** > + * qemu_get_cpu_archid: > + * @cpu_index: possible vCPU fo

[PATCH RFC V3 02/29] cpu-common: Add common CPU utility for possible vCPUs

2024-06-13 Thread Salil Mehta via
This patch adds various utility functions that may be required to fetch or check the state of possible vCPUs. It also introduces the concept of *disabled* vCPUs, which are part of the *possible* vCPUs but are not enabled. This state will be used during machine initialization and later during the pl