diff options
| author | Marcelo Tosatti <mtosatti@redhat.com> | 2012-04-19 16:06:26 -0400 |
|---|---|---|
| committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-04-19 16:06:26 -0400 |
| commit | eac0556750e727ff39144a9a9e59d5ccf1fc0e2a (patch) | |
| tree | f5ccff7795b2ad5e47f17fb475599c526f533e79 /include/linux/kvm_host.h | |
| parent | f71fa31f9f7ac33cba12b8897983f950ad2c7a5b (diff) | |
| parent | 19853301ef3289bda2d5264c1093e74efddaeab9 (diff) | |
Merge branch 'linus' into queue
Merge reason: development work has dependency on kvm patches merged
upstream.
Conflicts:
Documentation/feature-removal-schedule.txt
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
| -rw-r--r-- | include/linux/kvm_host.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 49c2f2fd281..a2d00b1bbf5 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
| @@ -606,6 +606,7 @@ void kvm_free_irq_source_id(struct kvm *kvm, int irq_source_id); | |||
| 606 | 606 | ||
| 607 | #ifdef CONFIG_IOMMU_API | 607 | #ifdef CONFIG_IOMMU_API |
| 608 | int kvm_iommu_map_pages(struct kvm *kvm, struct kvm_memory_slot *slot); | 608 | int kvm_iommu_map_pages(struct kvm *kvm, struct kvm_memory_slot *slot); |
| 609 | void kvm_iommu_unmap_pages(struct kvm *kvm, struct kvm_memory_slot *slot); | ||
| 609 | int kvm_iommu_map_guest(struct kvm *kvm); | 610 | int kvm_iommu_map_guest(struct kvm *kvm); |
| 610 | int kvm_iommu_unmap_guest(struct kvm *kvm); | 611 | int kvm_iommu_unmap_guest(struct kvm *kvm); |
| 611 | int kvm_assign_device(struct kvm *kvm, | 612 | int kvm_assign_device(struct kvm *kvm, |
| @@ -619,6 +620,11 @@ static inline int kvm_iommu_map_pages(struct kvm *kvm, | |||
| 619 | return 0; | 620 | return 0; |
| 620 | } | 621 | } |
| 621 | 622 | ||
| 623 | static inline void kvm_iommu_unmap_pages(struct kvm *kvm, | ||
| 624 | struct kvm_memory_slot *slot) | ||
| 625 | { | ||
| 626 | } | ||
| 627 | |||
| 622 | static inline int kvm_iommu_map_guest(struct kvm *kvm) | 628 | static inline int kvm_iommu_map_guest(struct kvm *kvm) |
| 623 | { | 629 | { |
| 624 | return -ENODEV; | 630 | return -ENODEV; |
