Some architectures will not support KVM_USERFAULT, so we need to have a build option to avoid including it for those architectures. Signed-off-by: James Houghton <jthoughton@xxxxxxxxxx> --- virt/kvm/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/virt/kvm/Kconfig b/virt/kvm/Kconfig index 754c6c923427..f1b660d593e4 100644 --- a/virt/kvm/Kconfig +++ b/virt/kvm/Kconfig @@ -117,3 +117,7 @@ config HAVE_KVM_GMEM_PREPARE config HAVE_KVM_GMEM_INVALIDATE bool depends on KVM_PRIVATE_MEM + +config KVM_USERFAULT + select KVM_GENERIC_MEMORY_ATTRIBUTES + bool -- 2.45.2.993.g49e7a77208-goog