From: Jan Beulich <jbeulich@suse.com>
To: Jason Andryuk <jason.andryuk@amd.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org,
Stefano Stabellini <sstabellini@kernel.org>,
Juergen Gross <jgross@suse.com>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>,
Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
Jason Andryuk <jandryuk@gmail.com>
Subject: Re: [PATCH 2/2] xen/Kconfig: select XEN_PVHVM
Date: Thu, 6 Aug 2026 08:20:13 +0200 [thread overview]
Message-ID: <d44f3abc-8b64-4542-bb10-936626c418a2@suse.com> (raw)
In-Reply-To: <20260806015233.202486-3-jason.andryuk@amd.com>
On 06.08.2026 03:52, Jason Andryuk wrote:
> --- a/arch/x86/xen/Kconfig
> +++ b/arch/x86/xen/Kconfig
> @@ -51,7 +51,7 @@ config XEN_PV_DOM0
> depends on XEN_PV && XEN_DOM0
>
> config XEN_PVHVM
> - def_bool y
> + bool
> depends on XEN && X86_LOCAL_APIC
Imo "depends on" on prompt-less, default-off options are at best unhelpful
in the common case. (Aiui it can be helpful when "imply" is used instead of
"select".) Hence I think this dependency wants dropping right in this patch,
justified further by ...
> @@ -61,13 +61,15 @@ config XEN_PVHVM_SMP
> config XEN_PVHVM_GUEST
> bool "Xen PVHVM guest support"
> default y
> - depends on XEN_PVHVM && PCI
> + depends on XEN && PCI
> + select XEN_PVHVM
> help
> Support running as a Xen PVHVM guest.
>
> config XEN_PVH
> bool "Xen PVH guest support"
> - depends on XEN && XEN_PVHVM && ACPI
> + depends on XEN && ACPI
> + select XEN_PVHVM
> select PVH
> help
> Support for running as a Xen PVH guest.
... the XEN dependency being in both of the options selecting XEN_PVHVM and,
as per Jürgen's patch, X86_LOCAL_APIC being redundant anyway.
Jan
next prev parent reply other threads:[~2026-08-06 6:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-06 1:52 [PATCH 0/2] xen: Fix PV-only build Jason Andryuk
2026-08-06 1:52 ` [PATCH 1/2] xen/events: Fix xen_set_upcall_vector stub Jason Andryuk
2026-08-06 1:52 ` [PATCH 2/2] xen/Kconfig: select XEN_PVHVM Jason Andryuk
2026-08-06 6:20 ` Jan Beulich [this message]
2026-08-06 10:55 ` [PATCH 0/2] xen: Fix PV-only build Juergen Gross
2026-08-06 11:31 ` Jan Beulich
2026-08-06 12:00 ` Jürgen Groß
2026-08-06 13:24 ` Jason Andryuk
2026-08-06 13:31 ` Juergen Gross
2026-08-06 13:58 ` Jason Andryuk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d44f3abc-8b64-4542-bb10-936626c418a2@suse.com \
--to=jbeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=boris.ostrovsky@oracle.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=jandryuk@gmail.com \
--cc=jason.andryuk@amd.com \
--cc=jgross@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=sstabellini@kernel.org \
--cc=tglx@kernel.org \
--cc=x86@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®