Signed-off-by: Paolo Bonzini <[email protected]>
---
 x86/external-module-compat.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h
index 475643a..79f2b76 100644
--- a/x86/external-module-compat.h
+++ b/x86/external-module-compat.h
@@ -51,6 +51,10 @@ static inline uint32_t hypervisor_cpuid_base(const char 
*sig, uint32_t leaves)
 #define CONFIG_HAVE_KVM_EVENTFD 1
 #endif
 
+#ifndef CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT
+#define CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT 1
+#endif
+
 #ifndef CONFIG_KVM_APIC_ARCHITECTURE
 #define CONFIG_KVM_APIC_ARCHITECTURE
 #endif
-- 
1.8.3.1


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to