commit | ba0513b5b8ffbcb0cc89e2f172c0bcb70497ba2e | [log] [tgz] |
---|---|---|
author | Mario Smarduch <m.smarduch@samsung.com> | Thu Jan 15 15:58:53 2015 -0800 |
committer | Christoffer Dall <christoffer.dall@linaro.org> | Fri Jan 16 14:40:14 2015 +0100 |
tree | ecc95c1fc9bc4b2d6247e02edb674277966dbdb9 | |
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>