diff options
author | Gavin Shan <gshan@redhat.com> | 2022-11-10 18:49:11 +0800 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-11-10 13:11:58 +0000 |
commit | 9cb1096f8590bc590326087bea65db932b53c3b5 (patch) | |
tree | ab6bd51ad3e1efc6f32a69a53e603c96a44d68ad /tools/testing/selftests/kvm/lib/kvm_util.c | |
parent | 86bdf3ebcfe1ded055282536fecce13001874740 (diff) |
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 'tools/testing/selftests/kvm/lib/kvm_util.c')
0 files changed, 0 insertions, 0 deletions