diff options
author | Eric Auger <eric.auger@redhat.com> | 2023-10-19 15:45:14 +0200 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2023-11-03 09:20:31 +0100 |
commit | b439595a08d79120325de4684698bb7b6516aa8a (patch) | |
tree | 200d2130e1868c97b5288a28d13a1872a5fb2a8c /scripts/coverage | |
parent | 908cae0de4fd63a58f5a7dc447f843a5be9cff46 (diff) | |
download | qemu-b439595a08d79120325de4684698bb7b6516aa8a.zip qemu-b439595a08d79120325de4684698bb7b6516aa8a.tar.gz qemu-b439595a08d79120325de4684698bb7b6516aa8a.tar.bz2 |
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>
Diffstat (limited to 'scripts/coverage')
0 files changed, 0 insertions, 0 deletions