[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240710234222.2333120-2-jthoughton@google.com>
Date: Wed, 10 Jul 2024 23:42:05 +0000
From: James Houghton <jthoughton@...gle.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: Marc Zyngier <maz@...nel.org>, Oliver Upton <oliver.upton@...ux.dev>,
James Morse <james.morse@....com>, Suzuki K Poulose <suzuki.poulose@....com>,
Zenghui Yu <yuzenghui@...wei.com>, Sean Christopherson <seanjc@...gle.com>, Shuah Khan <shuah@...nel.org>,
Peter Xu <peterx@...hat.org>, Axel Rasmussen <axelrasmussen@...gle.com>,
David Matlack <dmatlack@...gle.com>, James Houghton <jthoughton@...gle.com>, kvm@...r.kernel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, kvmarm@...ts.linux.dev
Subject: [RFC PATCH 01/18] KVM: Add KVM_USERFAULT build option
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@...gle.com>
---
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
Powered by blists - more mailing lists