Re: [PATCH 1/3] plugins: Ensure vCPU index is assigned in init/exit hooks

2024-06-06 Thread Pierrick Bouvier
On 6/6/24 05:40, Philippe Mathieu-Daudé wrote: Since vCPUs are hashed by their index, this index can't be uninitialized (UNASSIGNED_CPU_INDEX). Signed-off-by: Philippe Mathieu-Daudé --- plugins/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/core.c b/plugins/core.c index

[PATCH 1/3] plugins: Ensure vCPU index is assigned in init/exit hooks

2024-06-06 Thread Philippe Mathieu-Daudé
Since vCPUs are hashed by their index, this index can't be uninitialized (UNASSIGNED_CPU_INDEX). Signed-off-by: Philippe Mathieu-Daudé --- plugins/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/core.c b/plugins/core.c index badede28cf..d339b3db4d 100644 --- a/plugins/core.c