Re: [PATCH v2 2/3] KVM: keep track of running ioctls

2022-11-11 Thread Paolo Bonzini
On 11/10/22 17:48, Emanuele Giuseppe Esposito wrote: diff --git a/hw/core/cpu-common.c b/hw/core/cpu-common.c index f9fdd46b9d..8d6a4b1b65 100644 --- a/hw/core/cpu-common.c +++ b/hw/core/cpu-common.c @@ -237,6 +237,7 @@ static void cpu_common_initfn(Object *obj) cpu->nr_threads = 1;

[PATCH v2 2/3] KVM: keep track of running ioctls

2022-11-10 Thread Emanuele Giuseppe Esposito
Using the new accel-blocker API, mark where ioctls are being called in KVM. Next, we will implement the critical section that will take care of performing memslots modifications atomically, therefore preventing any new ioctl from running and allowing the running ones to finish. Signed-off-by: Davi