]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domain_validate: Disallow non-virtio IOMMU with an <address/>
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 4 Jul 2022 09:10:31 +0000 (11:10 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 4 Jul 2022 11:21:16 +0000 (13:21 +0200)
commit43e9d322beb18f0b9877e553385aefb94c34fc02
treea3a330b13468ba32448501116e3d1fd42d5e7881
parent92678703ce687e65baaca29ebac715ce0c65a09e
domain_validate: Disallow non-virtio IOMMU with an <address/>

Per v8.3.0-rc1~199 it's only a virtio IOMMU that can have
<address/>. The rest (Intel and SMMUv3) are system devices and
thus have no address associated with them. However, this
assumption is never checked for.

Fixes: b0eb1e193f5db033d0fbbf91ff71a121066ad77c
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_validate.c