diff options
author | Mario Smarduch <m.smarduch@samsung.com> | 2015-01-15 18:58:53 -0500 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2015-01-16 08:40:14 -0500 |
commit | ba0513b5b8ffbcb0cc89e2f172c0bcb70497ba2e (patch) | |
tree | ecc95c1fc9bc4b2d6247e02edb674277966dbdb9 /virt/kvm/Kconfig | |
parent | a6d5101661c88d642b1fc85657fb0c58da821aa7 (diff) |
KVM: Add generic support for dirty page logging
kvm_get_dirty_log() provides generic handling of dirty bitmap, currently reused
by several architectures. Building on that we intrdoduce
kvm_get_dirty_log_protect() adding write protection to mark these pages dirty
for future write access, before next KVM_GET_DIRTY_LOG ioctl call from user
space.
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Mario Smarduch <m.smarduch@samsung.com>
Diffstat (limited to 'virt/kvm/Kconfig')
-rw-r--r-- | virt/kvm/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/virt/kvm/Kconfig b/virt/kvm/Kconfig index 3796a2132a06..314950c51d9f 100644 --- a/virt/kvm/Kconfig +++ b/virt/kvm/Kconfig | |||
@@ -40,3 +40,9 @@ config KVM_VFIO | |||
40 | 40 | ||
41 | config HAVE_KVM_ARCH_TLB_FLUSH_ALL | 41 | config HAVE_KVM_ARCH_TLB_FLUSH_ALL |
42 | bool | 42 | bool |
43 | |||
44 | config HAVE_KVM_ARCH_DIRTY_LOG_PROTECT | ||
45 | bool | ||
46 | |||
47 | config KVM_GENERIC_DIRTYLOG_READ_PROTECT | ||
48 | bool | ||