summaryrefslogtreecommitdiffstats
path: root/include/linux/kvm.h
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/linux/kvm.h
parentb010eb5103cfbe12ae6f08a4cdb3a748bf78c410 (diff)
downloadblackbird-op-linux-2381ad241d0bea1253a37f314b270848067640bb.tar.gz
blackbird-op-linux-2381ad241d0bea1253a37f314b270848067640bb.zip
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/linux/kvm.h')
-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 9acf34a6dfbb..797fcd781242 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