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

Re: [PATCH v12 2/6] x86/altp2m: Wrap altp2m-specific code in #ifdef CONFIG_ALTP2M


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>
  • Date: Fri, 22 Aug 2025 19:02:56 -0400
  • 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=1755903815; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=JOk0Em5lTEW68Sb47GPCJPnPCmD+WNvM3mJaDwujsHE=; b=Vsza1Rgkay7On/xJ+HPeKrc/vgTxN+KUpEA6YyZNjEkgsIN/5Qnggu/tisAvqAUIAGIg+9OYEcw5sd+SvpnYiwvEB9OvIYR6Y2iZAC/uh4BZtlGfsW0ZPMtMRm7JOLWmjESsLPPIsGvlN21cRY+ERIRCl0YciFiPHfrVAfuuDQM=
  • Arc-seal: i=1; a=rsa-sha256; t=1755903815; cv=none; d=zohomail.com; s=zohoarc; b=YJIn2fKfHpW+zjVrIYX3Hb6yQoAUWbK6klmC+W5w1K+PIWiAlFQLOFa63g1IM9N5yEaQJlU6GF/cvBaKdY//4dqMNvAx2AO8iLUYGVmwP/dsqTOxGCygfs+FMJ4cHpQY35R7sck4kpLPQvbDsQmM07OlOqlMfqyFQEd5NvPu2q4=
  • Cc: Petr Beneš <w1benny@xxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Alexandru Isaila <aisaila@xxxxxxxxxxxxxxx>, Petre Pircalabu <ppircalabu@xxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 22 Aug 2025 23:03:45 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Thu, Jul 31, 2025 at 5:33 AM Jan Beulich <jbeulich@xxxxxxxx> wrote:
>
> On 31.07.2025 11:27, Petr Beneš wrote:
> > From: Petr Beneš <w1benny@xxxxxxxxx>
> >
> > This change consistently guards all altp2m-related functionality
> > behind #ifdef CONFIG_ALTP2M, so that code and data structures related
> > to alternate p2m views are only included when the feature is enabled.
> >
> > Apart from that:
> > - hvmemul_vmfunc() returns X86EMUL_UNHANDLEABLE when altp2m is disabled.
> > - do_altp2m_op() returns EOPNOTSUPP when altp2m is disabled.
> > - struct hvm_vcpu, arch_domain, and hvm_function_table only define altp2m
> >   fields when the feature is enabled.
> > - Moved several declarations under #ifdef CONFIG_ALTP2M in p2m.h to avoid
> >   polluting builds that don't require the feature.
> >
> > Signed-off-by: Petr Beneš <w1benny@xxxxxxxxx>
>
> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
>

For mem_access bits:
Acked-by: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>



 


Rackspace

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