summary refs log tree commit diff stats
path: root/include/exec
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2019-06-03 14:50:55 +0800
committerJuan Quintela <quintela@redhat.com>2019-07-15 15:39:03 +0200
commitff4aa11419242c835b03d274f08f797c129ed7ba (patch)
treefc35cacb00d555ea0fbd6c4be6abfa296638783c /include/exec
parent36adac493410a68b7fad2f28a6cf0bdc3d4afabf (diff)
downloadfocaccia-qemu-ff4aa11419242c835b03d274f08f797c129ed7ba.tar.gz
focaccia-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