aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/linux/vfio_zdev.h
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2024-07-16 11:45:05 +0200
committerMichael S. Tsirkin <mst@redhat.com>2024-07-22 20:15:42 -0400
commit62ac01d1de5096022e08355f8df47bf1191a3ed1 (patch)
tree49fd1c6bfd545f708f6d5958db586cc6720746e4 /linux-headers/linux/vfio_zdev.h
parent3745768918c2528f2b00b63bb3a764c458364f70 (diff)
downloadqemu-62ac01d1de5096022e08355f8df47bf1191a3ed1.zip
qemu-62ac01d1de5096022e08355f8df47bf1191a3ed1.tar.gz
qemu-62ac01d1de5096022e08355f8df47bf1191a3ed1.tar.bz2
virtio-iommu: Free [host_]resv_ranges on unset_iommu_devices
We are currently missing the deallocation of the [host_]resv_regions in case of hot unplug. Also to make things more simple let's rule out the case where multiple HostIOMMUDevices would be aliased and attached to the same IOMMUDevice. This allows to remove the handling of conflicting Host reserved regions. Anyway this is not properly supported at guest kernel level. On hotunplug the reserved regions are reset to the ones set by virtio-iommu property. Signed-off-by: Eric Auger <eric.auger@redhat.com> Message-Id: <20240716094619.1713905-4-eric.auger@redhat.com> Tested-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'linux-headers/linux/vfio_zdev.h')
0 files changed, 0 insertions, 0 deletions