kvm: support to get/set dirty log initial-all-set capability
commit494cd11d769ad1681c5914f8be7aa93ef497591f
authorJay Zhou <jianjay.zhou@huawei.com>
Wed, 4 Mar 2020 02:55:54 +0000 (4 10:55 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 26 Jun 2020 10:45:29 +0000 (26 06:45 -0400)
treea7c7dc61db3e23ee7e87ccf2b10f28220485bc3e
parent5acc270a355120ce967ca1f1eeca0abbdb9303c8
kvm: support to get/set dirty log initial-all-set capability

Since the new capability KVM_DIRTY_LOG_INITIALLY_SET of
KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 has been introduced in the
kernel, tweak the userspace side to detect and enable this
capability.

Signed-off-by: Jay Zhou <jianjay.zhou@huawei.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <20200304025554.2159-1-jianjay.zhou@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c