hw/iommu: enable iommu with -device
commit621d983a1f9051f4cfc3f402569b46b77d8449fc
authorMarcel Apfelbaum <marcel@redhat.com>
Mon, 27 Jun 2016 15:38:34 +0000 (27 18:38 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 4 Jul 2016 11:50:58 +0000 (4 14:50 +0300)
tree8e1fcc1afde7a0d2dbb5c5025ee23454f99552bd
parentbf8d492405feaee2c1685b3b9d5e03228ed3e47f
hw/iommu: enable iommu with -device

Use the standard '-device intel-iommu' to create the IOMMU device.
The legacy '-machine,iommu=on' can still be used.

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/intel_iommu.c
hw/i386/pc_q35.c
hw/pci-host/q35.c