aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorWeidong Han <weidong.han@intel.com>2008-09-25 11:32:02 -0400
committerAvi Kivity <avi@redhat.com>2008-10-15 08:25:29 -0400
commite5fcfc821a467bd0827635db8fd39ab1213987e5 (patch)
treec0b4247f84dc8382bd1e5312aa49430499b16615 /include/asm-x86
parente48258009d941891fca35348986b8d280caf31cd (diff)
KVM: Device Assignment: Map mmio pages into VT-d page table
Assigned device could DMA to mmio pages, so also need to map mmio pages into VT-d page table. Signed-off-by: Weidong Han <weidong.han@intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/kvm_host.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h
index 0992d721c5f7..ca6bbc0bd97c 100644
--- a/include/asm-x86/kvm_host.h
+++ b/include/asm-x86/kvm_host.h
@@ -502,8 +502,6 @@ int emulator_write_phys(struct kvm_vcpu *vcpu, gpa_t gpa,
502int kvm_pv_mmu_op(struct kvm_vcpu *vcpu, unsigned long bytes, 502int kvm_pv_mmu_op(struct kvm_vcpu *vcpu, unsigned long bytes,
503 gpa_t addr, unsigned long *ret); 503 gpa_t addr, unsigned long *ret);
504 504
505int is_mmio_pfn(pfn_t pfn);
506
507extern bool tdp_enabled; 505extern bool tdp_enabled;
508 506
509enum emulation_result { 507enum emulation_result {