summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-05-30 11:05:39 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2012-06-01 20:51:10 -0300
commit6e6536872e7ca85ba0e810b5f035bc055c583982 (patch)
treefbd8ba6df57bb93a267e0fc1acd9252dd9cdd449 /hw/device-assignment.h
parentpci-assign: Hide ioport regions on lacking sysfs support (diff)
downloadqemu-kvm-6e6536872e7ca85ba0e810b5f035bc055c583982.tar.gz
qemu-kvm-6e6536872e7ca85ba0e810b5f035bc055c583982.tar.bz2
qemu-kvm-6e6536872e7ca85ba0e810b5f035bc055c583982.zip
pci-assign: Drop iommu property
Disabling the IOMMU for an assigned device was never more than a highly experimental features and is no longer supported by host kernels >= 3.2. So drop this useless control from property list. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'hw/device-assignment.h')
-rw-r--r--hw/device-assignment.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/hw/device-assignment.h b/hw/device-assignment.h
index 5d271d5bf..1ef2dbe16 100644
--- a/hw/device-assignment.h
+++ b/hw/device-assignment.h
@@ -74,11 +74,9 @@ typedef struct {
PCIRegion *region;
} AssignedDevRegion;
-#define ASSIGNED_DEVICE_USE_IOMMU_BIT 0
-#define ASSIGNED_DEVICE_PREFER_MSI_BIT 1
-#define ASSIGNED_DEVICE_SHARE_INTX_BIT 2
+#define ASSIGNED_DEVICE_PREFER_MSI_BIT 0
+#define ASSIGNED_DEVICE_SHARE_INTX_BIT 1
-#define ASSIGNED_DEVICE_USE_IOMMU_MASK (1 << ASSIGNED_DEVICE_USE_IOMMU_BIT)
#define ASSIGNED_DEVICE_PREFER_MSI_MASK (1 << ASSIGNED_DEVICE_PREFER_MSI_BIT)
#define ASSIGNED_DEVICE_SHARE_INTX_MASK (1 << ASSIGNED_DEVICE_SHARE_INTX_BIT)