Add a config option that allows kvm to determine whether or not there
are any external users of page tracking.
Signed-off-by: David Stevens <stevensd@chromium.org>
Message-Id: <
20210922045859.
2011227-2-stevensd@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
         This option adds a R/W kVM module parameter 'mmu_audit', which allows
         auditing of KVM MMU events at runtime.
 
+config KVM_EXTERNAL_WRITE_TRACKING
+       bool
+
 endif # VIRTUALIZATION
 
        depends on DRM_I915_GVT
        depends on KVM
        depends on VFIO_MDEV
+       select KVM_EXTERNAL_WRITE_TRACKING
        default n
        help
          Choose this option if you want to enable KVMGT support for