]> git.ipfire.org Git - thirdparty/qemu.git/commit
KVM: keep track of running ioctls
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>
Fri, 11 Nov 2022 15:47:57 +0000 (10:47 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 11 Jan 2023 08:59:39 +0000 (09:59 +0100)
commita27dd2de68f37ba96fe164a42121daa5f0750afc
tree89666bc8cda0b4cc3d0ac712b5d9ef972463cce0
parentbd688fc93120fb3e28aa70e3dfdf567ccc1e0bc1
KVM: keep track of running ioctls

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: David Hildenbrand <david@redhat.com>
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Message-Id: <20221111154758.1372674-3-eesposit@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c