diff options
author | Peter Xu <peterx@redhat.com> | 2019-06-03 14:50:55 +0800 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2019-07-15 15:39:03 +0200 |
commit | ff4aa11419242c835b03d274f08f797c129ed7ba (patch) | |
tree | fc35cacb00d555ea0fbd6c4be6abfa296638783c /migration | |
parent | 36adac493410a68b7fad2f28a6cf0bdc3d4afabf (diff) |
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 'migration')
0 files changed, 0 insertions, 0 deletions