]> Git Repo - qemu.git/commit - hw/i386/intel_iommu.c
x86-iommu: switch intr_supported to OnOffAuto type
authorPeter Xu <[email protected]>
Thu, 20 Dec 2018 05:40:36 +0000 (13:40 +0800)
committerMichael S. Tsirkin <[email protected]>
Thu, 20 Dec 2018 18:25:11 +0000 (13:25 -0500)
commita924b3d8df55a395891fd5ed341d0deb135d9aa6
treee6ba485ec8d04620f890c5402a44d8a16caddc0e
parentb2fc91db84470a78f8e93f5b5f913c17188792c8
x86-iommu: switch intr_supported to OnOffAuto type

Switch the intr_supported variable from a boolean to OnOffAuto type so
that we can know whether the user specified it or not.  With that
we'll have a chance to help the user to choose more wisely where
possible.  Introduce x86_iommu_ir_supported() to mask these changes.

No functional change at all.

Signed-off-by: Peter Xu <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/i386/acpi-build.c
hw/i386/amd_iommu.c
hw/i386/intel_iommu.c
hw/i386/pc.c
hw/i386/x86-iommu.c
include/hw/i386/x86-iommu.h
This page took 0.026919 seconds and 4 git commands to generate.