diff options
| author | Peter Xu | 2019-06-03 08:50:55 +0200 |
|---|---|---|
| committer | Juan Quintela | 2019-07-15 15:39:03 +0200 |
| commit | ff4aa11419242c835b03d274f08f797c129ed7ba (patch) | |
| tree | fc35cacb00d555ea0fbd6c4be6abfa296638783c /include/exec | |
| parent | kvm: Introduce slots lock for memory listener (diff) | |
| download | qemu-ff4aa11419242c835b03d274f08f797c129ed7ba.tar.gz qemu-ff4aa11419242c835b03d274f08f797c129ed7ba.tar.xz qemu-ff4aa11419242c835b03d274f08f797c129ed7ba.zip | |
kvm: Support KVM_CLEAR_DIRTY_LOG
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 deliever the clear
message to kernel.
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20190603065056.25211-11-peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
