From: Jan Kiszka <[email protected]> Breaks otherwise if CONFIG_IOMMU_API is not set.
KVM-Stable-Tag. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]> diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 5d09197..23ce75f 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -522,8 +522,7 @@ int kvm_deassign_device(struct kvm *kvm, struct kvm_assigned_dev_kernel *assigned_dev); #else /* CONFIG_IOMMU_API */ static inline int kvm_iommu_map_pages(struct kvm *kvm, - gfn_t base_gfn, - unsigned long npages) + struct kvm_memory_slot *slot) { return 0; } -- To unsubscribe from this list: send the line "unsubscribe kvm-commits" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
