e743664bea
Since the new capability KVM_DIRTY_LOG_INITIALLY_SET of KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 has been introduced, tweak the clear_dirty_log_test to use it. Signed-off-by: Jay Zhou <jianjay.zhou@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
7 lines
270 B
C
7 lines
270 B
C
#define USE_CLEAR_DIRTY_LOG
|
|
#define KVM_DIRTY_LOG_MANUAL_PROTECT_ENABLE (1 << 0)
|
|
#define KVM_DIRTY_LOG_INITIALLY_SET (1 << 1)
|
|
#define KVM_DIRTY_LOG_MANUAL_CAPS (KVM_DIRTY_LOG_MANUAL_PROTECT_ENABLE | \
|
|
KVM_DIRTY_LOG_INITIALLY_SET)
|
|
#include "dirty_log_test.c"
|