Re: [RFC PATCH 14/42] iommufd: Enable KVM HW page table object to be proxy between KVM and IOMMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Dec 02, 2023 at 05:22:16PM +0800, Yan Zhao wrote:
> +config IOMMUFD_KVM_HWPT
> +	bool "Supports KVM managed HW page tables"
> +	default n
> +	help
> +	  Selecting this option will allow IOMMUFD to create IOMMU stage 2
> +	  page tables whose paging structure and mappings are managed by
> +	  KVM MMU. IOMMUFD serves as proxy between KVM and IOMMU driver to
> +	  allow IOMMU driver to get paging structure meta data and cache
> +	  invalidate notifications from KVM.

I'm not sure we need a user selectable kconfig for this..

Just turn it on if we have kvm turned on an iommu driver implements it

Jason




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux