[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v1 19/25] xen: make CONFIG_VM_EVENT depend on DOMCTL


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Penny Zheng <Penny.Zheng@xxxxxxx>
  • Date: Sun, 3 Aug 2025 17:47:32 +0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SkYdDzP8GNEvmLPt9pWU8qcnGzXOWDKR8gYNHnsWjrQ=; b=TRoVtTFUN3thKDa5xpYMvKQ4zsj+ty+FWq5UVednIdXTNJfTPsQCNzzX4wjHEBRVphE9OmPZ9niENWbI+EYwKSvAnyiKRp/ZBYFpljoAj4j4FwsUkzpEiQJmV0HiU/S24P6X9af3/WupLPGR2qsHdo7SMM4Yk+gsDmH9kT0Xsun0lxz4VgprDmkW0U/rAXBm+eSxZbbQL4MuJmGTpOqGTIuZxdsuhdQ4TLdUijXEV5LAKlfs7NShHReDj6r8Z7/NfnBXUoY8/BigrYTEkSrr03srJQ+70K1vECopxpvcPVUqgKufuw+7eTt6pmfqojW4QmXPhHZE5WyZnsNSyySzbw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qwi/1JIilJ/I+fYlk1YYQ7u4jun7K2iAKHUjb3r460YqeWxxZfqBHFeluIfvQpnnxeums5EdnJQ4gnAXSMRkS5kUjd+SJd8RZNSteRbnBccWYXBvDsOtnAIeFTVUyVbnBJvQBanQByfRQkYR4B0wFvrbSCqvUINsZVY126n7tG5q2Vzk333Z+QmWrETjyCG9yNy+VLihHGjucf9DCfi59+CbL0Qnm76a6dJepOxF8K9L3jFhdAre/1ArxB2fb+f0OMtAyDwVVCV8CpYI37CO6sXSaTN3Yh444F9ngl2+y0TUpS+zT3zyY1tuJ02ZGTP1URmuseW4cBALwzDho/g5tQ==
  • Cc: <ray.huang@xxxxxxx>, Penny Zheng <Penny.Zheng@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, "Julien Grall" <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Sun, 03 Aug 2025 09:50:53 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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.Zheng@xxxxxxx>
---
 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




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.