diff options
author | Weidong Han <weidong.han@intel.com> | 2008-09-25 11:32:02 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-10-15 08:25:29 -0400 |
commit | e5fcfc821a467bd0827635db8fd39ab1213987e5 (patch) | |
tree | c0b4247f84dc8382bd1e5312aa49430499b16615 /include/asm-x86/kvm_host.h | |
parent | e48258009d941891fca35348986b8d280caf31cd (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/kvm_host.h')
-rw-r--r-- | include/asm-x86/kvm_host.h | 2 |
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, | |||
502 | int kvm_pv_mmu_op(struct kvm_vcpu *vcpu, unsigned long bytes, | 502 | int 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 | ||
505 | int is_mmio_pfn(pfn_t pfn); | ||
506 | |||
507 | extern bool tdp_enabled; | 505 | extern bool tdp_enabled; |
508 | 506 | ||
509 | enum emulation_result { | 507 | enum emulation_result { |