Eric Auger b439595a08 range: Introduce range_inverse_array()
This helper reverses a list of regions within a [low, high]
span, turning original regions into holes and original
holes into actual regions, covering the whole UINT64_MAX span.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Yanghang Liu <yanghliu@redhat.com>
Reviewed-by: "Michael S. Tsirkin" <mst@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2023-11-03 09:20:31 +01:00
..
2023-05-30 17:37:26 +02:00
2023-08-31 19:47:43 +02:00
2023-05-23 15:20:15 +08:00
2023-09-07 20:32:11 -05:00
2023-08-31 19:47:43 +02:00
2023-04-24 11:29:00 +02:00
2023-08-31 19:47:43 +02:00
2023-10-17 15:20:53 +02:00
2023-08-31 19:47:43 +02:00
2023-11-03 09:20:31 +01:00
2023-08-31 19:47:43 +02:00
2023-04-27 16:39:43 +02:00
2023-10-04 18:15:06 -04:00