diff options
author | Eric Auger <eric.auger@redhat.com> | 2020-09-29 10:55:49 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-10-05 10:59:42 +0100 |
commit | 4487d420d0d0d9b503bfb9308e474f0bbac54700 (patch) | |
tree | 288f9472e09fd1f1b3dded7683501f5df65dab7d /device_tree.c | |
parent | ad1e691db208d2e04260f08f093bf22296344944 (diff) | |
download | qemu-4487d420d0d0d9b503bfb9308e474f0bbac54700.zip qemu-4487d420d0d0d9b503bfb9308e474f0bbac54700.tar.gz qemu-4487d420d0d0d9b503bfb9308e474f0bbac54700.tar.bz2 |
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 'device_tree.c')
0 files changed, 0 insertions, 0 deletions