summaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/Kconfig
diff options
context:
space:
mode:
authorGavin Shan <gshan@redhat.com>2022-11-10 13:49:11 +0300
committerMarc Zyngier <maz@kernel.org>2022-11-10 16:11:58 +0300
commit9cb1096f8590bc590326087bea65db932b53c3b5 (patch)
treeab6bd51ad3e1efc6f32a69a53e603c96a44d68ad /arch/arm64/kvm/Kconfig
parent86bdf3ebcfe1ded055282536fecce13001874740 (diff)
downloadlinux-9cb1096f8590bc590326087bea65db932b53c3b5.tar.xz
KVM: arm64: Enable ring-based dirty memory tracking
Enable ring-based dirty memory tracking on ARM64: - Enable CONFIG_HAVE_KVM_DIRTY_RING_ACQ_REL. - Enable CONFIG_NEED_KVM_DIRTY_RING_WITH_BITMAP. - Set KVM_DIRTY_LOG_PAGE_OFFSET for the ring buffer's physical page offset. - Add ARM64 specific kvm_arch_allow_write_without_running_vcpu() to keep the site of saving vgic/its tables out of the no-running-vcpu radar. Signed-off-by: Gavin Shan <gshan@redhat.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221110104914.31280-5-gshan@redhat.com
Diffstat (limited to 'arch/arm64/kvm/Kconfig')
-rw-r--r--arch/arm64/kvm/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/kvm/Kconfig b/arch/arm64/kvm/Kconfig
index 815cc118c675..05da3c8f7e88 100644
--- a/arch/arm64/kvm/Kconfig
+++ b/arch/arm64/kvm/Kconfig
@@ -32,6 +32,8 @@ menuconfig KVM
select KVM_VFIO
select HAVE_KVM_EVENTFD
select HAVE_KVM_IRQFD
+ select HAVE_KVM_DIRTY_RING_ACQ_REL
+ select NEED_KVM_DIRTY_RING_WITH_BITMAP
select HAVE_KVM_MSI
select HAVE_KVM_IRQCHIP
select HAVE_KVM_IRQ_ROUTING