diff options
author | Eric Auger | 2020-09-29 10:55:49 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2020-10-05 11:59:42 +0200 |
commit | 4487d420d0d0d9b503bfb9308e474f0bbac54700 (patch) | |
tree | 288f9472e09fd1f1b3dded7683501f5df65dab7d /scripts/check_sparse.py | |
parent | docs: add 'io_uring' option to 'aio' param in qemu-options.hx (diff) | |
download | qemu-4487d420d0d0d9b503bfb9308e474f0bbac54700.tar.gz qemu-4487d420d0d0d9b503bfb9308e474f0bbac54700.tar.xz qemu-4487d420d0d0d9b503bfb9308e474f0bbac54700.zip |
util/vfio-helpers: Collect IOVA reserved regions
The IOVA allocator currently ignores host reserved regions.
As a result some chosen IOVAs may collide with some of them,
resulting in VFIO MAP_DMA errors later on. This happens on ARM
where the MSI reserved window quickly is encountered:
[0x8000000, 0x8100000]. since 5.4 kernel, VFIO returns the usable
IOVA regions. So let's enumerate them in the prospect to avoid
them, later on.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20200929085550.30926-2-eric.auger@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/check_sparse.py')
0 files changed, 0 insertions, 0 deletions