intel_iommu: add OnOffAuto intr_eim as "eim" property
commite6b6af05607a8bc828c454f6830b5fc68e5a9ac1
authorRadim Krčmář <rkrcmar@redhat.com>
Mon, 10 Oct 2016 15:28:46 +0000 (10 17:28 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 17 Oct 2016 17:44:49 +0000 (17 15:44 -0200)
tree6bbcc04d1ace0c720747f24ad4bf605cac918a92
parent6333e93c772f78baf26a5c97c1a67ffa7cd76068
intel_iommu: add OnOffAuto intr_eim as "eim" property

The default (auto) emulates the current behavior.
A user can now control EIM like
  -device intel-iommu,intremap=on,eim=off

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/i386/intel_iommu.c
include/hw/i386/intel_iommu.h