summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorXiantao Zhang <xiantao.zhang@intel.com>2008-10-08 08:29:33 +0800
committerAvi Kivity <avi@redhat.com>2008-10-15 14:25:39 +0200
commit2381ad241d0bea1253a37f314b270848067640bb (patch)
treef722e3da63c8f26ef7309653848ab7cea02e08cb /include
parentb010eb5103cfbe12ae6f08a4cdb3a748bf78c410 (diff)
downloadop-kernel-dev-2381ad241d0bea1253a37f314b270848067640bb.zip
op-kernel-dev-2381ad241d0bea1253a37f314b270848067640bb.tar.gz
KVM: ia64: Add intel iommu support for guests.
With intel iommu hardware, we can assign devices to kvm/ia64 guests. Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/kvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 9acf34a..797fcd7 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -383,7 +383,7 @@ struct kvm_trace_rec {
#define KVM_CAP_MP_STATE 14
#define KVM_CAP_COALESCED_MMIO 15
#define KVM_CAP_SYNC_MMU 16 /* Changes to host mmap are reflected in guest */
-#ifdef CONFIG_X86
+#if defined(CONFIG_X86)||defined(CONFIG_IA64)
#define KVM_CAP_DEVICE_ASSIGNMENT 17
#endif
#define KVM_CAP_IOMMU 18
OpenPOWER on IntegriCloud