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
..
2023-08-31 19:47:43 +02:00
2023-03-07 20:44:09 +00:00
2022-06-06 18:09:03 +00:00
2020-09-29 15:41:35 +02:00
2023-05-30 17:32:02 +02:00
2023-09-20 17:46:01 +02:00
2023-06-01 07:34:03 -04:00
2022-03-04 18:18:25 +01:00
2022-10-26 14:56:42 -04:00
2022-03-04 18:18:25 +01:00
2020-07-10 18:04:49 -04:00
2023-10-08 21:08:08 +02:00
2022-06-06 09:26:53 +02:00
2023-02-27 22:29:01 +01:00
2020-10-27 16:48:49 +01:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00
2023-09-29 10:07:16 +02:00
2023-07-26 10:55:56 +02:00
2023-01-08 01:54:22 -05:00
2022-01-18 12:56:29 +01:00
2022-10-24 22:30:10 +04:00
2023-01-08 01:54:22 -05:00
2023-02-08 07:28:05 +01:00
2022-10-27 11:01:03 +02:00
2023-06-28 14:14:22 +02:00
2023-10-07 19:02:32 +02:00
2023-08-31 19:46:43 +02:00
2023-09-08 13:08:52 +03:00
2023-10-12 14:15:22 +02:00
2023-03-01 09:09:22 +00:00
2023-10-12 14:15:22 +02:00
2022-03-06 13:15:42 +01:00
2020-09-30 19:09:20 +02:00
2023-06-28 13:55:35 +02:00
2023-10-06 13:27:48 +02:00
2023-09-07 10:29:06 -04:00
2023-04-20 11:25:32 +02:00
2023-02-27 22:29:01 +01:00
2022-10-27 11:34:31 +01:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2023-08-31 09:45:18 +01:00
2023-10-08 21:08:08 +02:00
2023-09-11 08:34:05 +02:00
2018-06-01 13:44:15 +02:00
2023-09-08 13:08:52 +03:00
2022-12-19 16:21:56 +01:00
2023-06-28 13:55:35 +02:00
2023-09-08 13:08:52 +03:00
2020-11-15 16:44:18 +01:00
2023-10-06 13:27:48 +02:00
2020-09-18 14:12:32 -04:00
2022-09-29 11:40:28 +02:00
2023-06-28 13:55:35 +02:00
2019-08-16 13:31:51 +02:00
2023-06-28 13:55:35 +02:00