mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
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 <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
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"
|