VM event could only be enabled/disabled via vm_event domctl-op, so
CONFIG_VM_EVENT shall depend on CONFIG_DOMCTL

Signed-off-by: Penny Zheng <penny.zh...@amd.com>
---
 xen/common/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index bf1850c154..24a7b83af9 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -145,7 +145,7 @@ config MEM_ACCESS_ALWAYS_ON
 config VM_EVENT
        def_bool MEM_ACCESS_ALWAYS_ON
        prompt "Memory Access and VM events" if !MEM_ACCESS_ALWAYS_ON
-       depends on HVM
+       depends on HVM && DOMCTL
        help
 
          Framework to configure memory access types for guests and receive
-- 
2.34.1


Reply via email to