qemu-e2k/accel/stubs
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
..
kvm-stub.c kvm: Return number of free memslots 2023-10-12 14:15:22 +02:00
meson.build accel: Rename accel_softmmu* -> accel_system* 2023-10-07 19:02:57 +02:00
tcg-stub.c accel: Replace target_ulong with vaddr in probe_*() 2023-06-26 17:32:59 +02:00
xen-stub.c qapi: Restrict Xen migration commands to migration.json 2020-10-21 05:00:44 +02:00