qemu: Move capability checks for IOMMU features
qemu: Move capability checks for IOMMU features

All current IOMMU features are specific to Intel IOMMU, so
understandably we check for the corresponding capabilities
inside the Intel-specific switch() branch; however, we want
to make sure SMMUv3 IOMMU users get an error if they try to
enable any of those features in their guest, and performing
the capability checks unconditionally is both the easiest
way to achieve that, as well as the one least likely to
result in us inadvertently letting users enable some new
Intel-specific IOMMU feature for ARM guests later on.

Signed-off-by: Andrea Bolognani <3ada0bee826c753786fdbba72243dfba997094cf@redhat.com>
Reviewed-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>

jardasgit/libvirt,eskultety/libvirt,jfehlig/libvirt,eskultety/libvirt,nertpinx/libvirt,crobinso/libvirt,crobinso/libvirt,crobinso/libvirt,andreabolognani/libvirt,libvirt/libvirt,fabianfreyer/libvirt,eskultety/libvirt,olafhering/libvirt,andreabolognani/libvirt,olafhering/libvirt,libvirt/libvirt,eskultety/libvirt,zippy2/libvirt,olafhering/libvirt,jardasgit/libvirt,zippy2/libvirt,nertpinx/libvirt,jfehlig/libvirt,zippy2/libvirt,andreabolognani/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,zippy2/libvirt,jardasgit/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,libvirt/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,jfehlig/libvirt,eskultety/libvirt,jfehlig/libvirt,nertpinx/libvirt,libvirt/libvirt,olafhering/libvirt,nertpinx/libvirt,crobinso/libvirt