qemu-e2k/accel
David Hildenbrand 5b23186a95 kvm: Return number of free memslots
Let's return the number of free slots instead of only checking if there
is a free slot. While at it, check all address spaces, which will also
consider SMM under x86 correctly.

This is a preparation for memory devices that consume multiple memslots.

Message-ID: <20230926185738.277351-5-david@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
2023-10-12 14:15:22 +02:00
..
hvf accel/tcg: Move can_do_io to CPUNegativeOffsetState 2023-10-03 08:01:02 -07:00
kvm kvm: Return number of free memslots 2023-10-12 14:15:22 +02:00
qtest meson: Replace CONFIG_SOFTMMU -> CONFIG_SYSTEM_ONLY 2023-06-20 10:01:30 +02:00
stubs kvm: Return number of free memslots 2023-10-12 14:15:22 +02:00
tcg plugins: Set final instruction count in plugin_gen_tb_end 2023-10-11 08:46:39 +01:00
xen accel/xen: Fix DM state change notification in dm_restrict mode 2023-03-23 09:56:54 +00:00
accel-blocker.c
accel-system.c accel: Rename accel_softmmu* -> accel_system* 2023-10-07 19:02:57 +02:00
accel-system.h accel: Rename accel_softmmu* -> accel_system* 2023-10-07 19:02:57 +02:00
accel-target.c accel: Rename accel_softmmu* -> accel_system* 2023-10-07 19:02:57 +02:00
accel-user.c
dummy-cpus.c accel/tcg: Move can_do_io to CPUNegativeOffsetState 2023-10-03 08:01:02 -07:00
Kconfig accel: Remove HAX accelerator 2023-08-31 19:46:43 +02:00
meson.build accel: Rename accel_softmmu* -> accel_system* 2023-10-07 19:02:57 +02:00