summaryrefslogtreecommitdiff
path: root/include/kvm
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 /include/kvm
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 'include/kvm')
-rw-r--r--include/kvm/arm_vgic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h
index 4df9e73a8bb5..9270cd87da3f 100644
--- a/include/kvm/arm_vgic.h
+++ b/include/kvm/arm_vgic.h
@@ -263,6 +263,7 @@ struct vgic_dist {
struct vgic_io_device dist_iodev;
bool has_its;
+ bool save_its_tables_in_progress;
/*
* Contains the attributes and gpa of the LPI configuration table.