KVM: Introduce KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2
authorPeter Xu <peterx@redhat.com>
Wed, 8 May 2019 09:15:47 +0000 (17:15 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 May 2019 11:48:24 +0000 (13:48 +0200)
commitd7547c55cbe7471255ca51f14bcd4699f5eaabe5
tree1d616aada1dec45414a38ed39f4017223ddccea8
parent53eac7a8f8cf3d7dc5ecac1946f31442f5eee5f3
KVM: Introduce KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2

The previous KVM_CAP_MANUAL_DIRTY_LOG_PROTECT has some problem which
blocks the correct usage from userspace.  Obsolete the old one and
introduce a new capability bit for it.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virtual/kvm/api.txt
include/uapi/linux/kvm.h
tools/testing/selftests/kvm/dirty_log_test.c
virt/kvm/kvm_main.c