qemu-e2k/include/sysemu
Peter Xu 36adac4934 kvm: Introduce slots lock for memory listener
Introduce KVMMemoryListener.slots_lock to protect the slots inside the
kvm memory listener.  Currently it is close to useless because all the
KVM code path now is always protected by the BQL.  But it'll start to
make sense in follow up patches where we might do remote dirty bitmap
clear and also we'll update the per-slot cached dirty bitmap even
without the BQL.  So let's prepare for it.

We can also use per-slot lock for above reason but it seems to be an
overkill.  Let's just use this bigger one (which covers all the slots
of a single address space) but anyway this lock is still much smaller
than the BQL.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20190603065056.25211-10-peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2019-07-15 15:39:03 +02:00
..
accel.h accel: Remove unused AccelClass::opt_name attribute 2019-06-07 15:28:46 -03:00
arch_init.h qapi: make query-cpu-definitions depend on specific targets 2019-02-18 14:44:05 +01:00
balloon.h avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
block-backend.h block: Add BlockBackend.ctx 2019-06-04 15:22:22 +02:00
blockdev.h blockdev: Convert drive_new() to Error 2018-10-19 14:51:34 +02:00
bt.h hw/bt: Remove HCIInfo from "qemu/typedefs.h" 2019-01-22 05:14:32 +01:00
cpus.h target: Simplify how the TARGET_cpu_list() print 2019-04-18 22:18:59 +02:00
cryptodev-vhost-user.h
cryptodev-vhost.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
cryptodev.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
device_tree.h
dma.h
dump-arch.h
dump.h qapi: Split dump.json off misc.json 2019-07-02 13:37:00 +02:00
hax.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
hostmem.h qapi: Split machine.json off misc.json 2019-07-02 13:37:00 +02:00
hvf.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
hw_accel.h
iothread.h iothread: create the gcontext unconditionally 2019-03-08 10:16:15 +00:00
kvm_int.h kvm: Introduce slots lock for memory listener 2019-07-15 15:39:03 +02:00
kvm.h target/i386: kvm: Add support for save and restore nested state 2019-06-21 13:23:47 +02:00
memory_mapping.h qemu/queue.h: simplify reverse access to QTAILQ 2019-01-11 15:46:55 +01:00
numa.h hw/core: Collect QMP command handlers in hw/core/ 2019-07-02 13:37:00 +02:00
os-posix.h
os-win32.h
qtest.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
replay.h
reset.h
rng-random.h
rng.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
seccomp.h
sev.h
sysemu.h vl: add qemu_add_vm_change_state_handler_prio() 2019-07-08 16:00:26 +02:00
tcg.h qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
tpm_backend.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
tpm.h qom: make interface types abstract 2018-12-11 15:45:22 -02:00
vhost-user-backend.h Add vhost-user-backend 2019-05-10 12:48:35 +02:00
watchdog.h
whpx.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
xen-mapcache.h