• A
    qemu: Move capability checks for IOMMU features · b645f0fc
    Andrea Bolognani 提交于
    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: NAndrea Bolognani <abologna@redhat.com>
    Reviewed-by: NJán Tomko <jtomko@redhat.com>
    b645f0fc
qemu_domain.c 440.2 KB