[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 3/6] x86/monitor: wrap monitor_op under CONFIG_VM_EVENT
- To: Penny Zheng <Penny.Zheng@xxxxxxx>
- From: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>
- Date: Fri, 16 Jan 2026 18:19:00 -0500
- Arc-authentication-results: i=1; mx.zohomail.com; dkim=pass header.i=tklengyel.com; spf=pass smtp.mailfrom=tamas@xxxxxxxxxxxxx; dmarc=pass header.from=<tamas@xxxxxxxxxxxxx>
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1768605593; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=qr25avvDLnDOnm9RWcIZUh3dqPd+LfGVqV0F0VX+7Xs=; b=Jb3e7pbuxjsKvRxMQ91jDwXZ7FNtp/n2bf158pHe2rYUtHXVZhyHbTS0w5UBXhqIttIPfvJfRTVrV4ByA29Eb/vmCNnHOIP2iWS+Mo9j5T33mHUUhTXEeuarsm/WWcq1XRuFC8FpnilR+8CjnK/Gn39H6AO2zX/q3qfEFOwS3Xw=
- Arc-seal: i=1; a=rsa-sha256; t=1768605593; cv=none; d=zohomail.com; s=zohoarc; b=hxpQY7oXVtnBV+MAdIdMnliHaxdqxFHzyaNqldLn1yTTL0ey1bcKuWPy8jxxZai9W5P8Hl9/zl2J8ibb2XP96MNccQD7N2eYL++oCjC+/FdIpBfgv0o++mwnF9HTbmEEzcahqPEXS131uVYxF3thFNkkOo8Q+mY1x+p5fMhsXHA=
- Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, jason.andryuk@xxxxxxx, ray.huang@xxxxxxx, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Alexandru Isaila <aisaila@xxxxxxxxxxxxxxx>, Petre Pircalabu <ppircalabu@xxxxxxxxxxxxxxx>
- Delivery-date: Fri, 16 Jan 2026 23:19:59 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Feature monitor_op is based on vm event subsystem, so monitor.o shall be
wrapped under CONFIG_VM_EVENT.
The following functions are only invoked by monitor-op, so they all shall be
wrapped with CONFIG_VM_EVENT (otherwise they will become unreachable and
violate Misra rule 2.1 when VM_EVENT=n):
- hvm_enable_msr_interception
- hvm_function_table.enable_msr_interception
- hvm_has_set_descriptor_access_existing
- hvm_function_table.set_descriptor_access_existi
- arch_monitor_get_capabilities
Function monitored_msr() still needs a stub to pass compilation when
VM_EVENT=n.
Signed-off-by: Penny Zheng <Penny.Zheng@xxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
|