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

Signed-off-by: Penny Zheng <[email protected]>
Acked-by: Jan Beulich <[email protected]>
---
v1 -> v2:
- adapt to changes of "unify DOMCTL to MGMT_HYPERCALLS"
---
 xen/common/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 95cbb451bf..309d262386 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -172,7 +172,7 @@ config LIBFDT
 
 config VM_EVENT
        bool "Memory Access and VM events"
-       depends on HVM
+       depends on HVM && MGMT_HYPERCALLS
        default X86
        help
 
-- 
2.34.1


Reply via email to