[Qemu-devel] [PULL 17/19] kvm: Support KVM_CLEAR_DIRTY_LOG

2019-07-12 Thread Juan Quintela
From: Peter Xu Firstly detect the interface using KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 and mark it. When failed to enable the new feature we'll fall back to the old sync. Provide the log_clear() hook for the memory listeners for both address spaces of KVM (normal system memory, and SMM) and deliev

[Qemu-devel] [PULL 17/19] kvm: Support KVM_CLEAR_DIRTY_LOG

2019-07-11 Thread Juan Quintela
From: Peter Xu Firstly detect the interface using KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 and mark it. When failed to enable the new feature we'll fall back to the old sync. Provide the log_clear() hook for the memory listeners for both address spaces of KVM (normal system memory, and SMM) and deliev