OSDN Git Service

q35: Check propery to determine if iommu is set
authorBandan Das <bsd@redhat.com>
Fri, 13 Nov 2015 06:55:47 +0000 (01:55 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 17 Nov 2015 13:41:13 +0000 (15:41 +0200)
commit1f8431f42d833e8914f2d16ce4a49b7b72b90db0
tree180a1ce13a646b81b73a9b6a08b8c0bbe706849e
parentdc3db6adde329548771ab2addc2ef8376b2b8b32
q35: Check propery to determine if iommu is set

The helper function machine_iommu() isn't necesary. We can
directly check for the property.

Signed-off-by: Bandan Das <bsd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Bandan Das <bsd@redhat.com>
hw/core/machine.c
hw/pci-host/q35.c
include/hw/boards.h