Re: [PATCH RESEND v5 22/26] cpu: Call plugin hooks only when ready

2023-08-30 Thread Alex Bennée
Akihiko Odaki writes: > The initialization and exit hooks will not affect the state of vCPU, > but they may depend on the state of vCPU. Therefore, it's better to > call plugin hooks after the vCPU state is fully initialized and before > it gets uninitialized. > > Signed-off-by: Akihiko Odaki

[PATCH RESEND v5 22/26] cpu: Call plugin hooks only when ready

2023-08-17 Thread Akihiko Odaki
The initialization and exit hooks will not affect the state of vCPU, but they may depend on the state of vCPU. Therefore, it's better to call plugin hooks after the vCPU state is fully initialized and before it gets uninitialized. Signed-off-by: Akihiko Odaki --- cpu.c| 11 --