From: dmkhn@proton.me
To: Alejandro Vallejo <alejandro.garciavallejo@amd.com>
Cc: xen-devel@lists.xenproject.org, andrew.cooper3@citrix.com,
anthony.perard@vates.tech, jbeulich@suse.com, julien@xen.org,
michal.orzel@amd.com, roger.pau@citrix.com,
sstabellini@kernel.org, dmukhin@ford.com
Subject: Re: [PATCH v11 1/3] xen/domain: unify domain ID allocation
Date: Tue, 29 Jul 2025 23:53:05 +0000 [thread overview]
Message-ID: <aIle2z3jJeP5E8qM@kraken> (raw)
In-Reply-To: <DBOGZOES2A5Q.20Y3MK677M83D@amd.com>
On Tue, Jul 29, 2025 at 12:34:25PM +0200, Alejandro Vallejo wrote:
Thanks for review!
> On Mon Jul 28, 2025 at 8:34 PM CEST, dmkhn wrote:
> > From: Denis Mukhin <dmukhin@ford.com>
> >
> > Currently, there are two different domain ID allocation implementations:
> >
> > 1) Sequential IDs allocation in dom0less Arm code based on max_init_domid;
> >
> > 2) Sequential IDs allocation in XEN_DOMCTL_createdomain; does not use
> > max_init_domid (both Arm and x86).
> >
> > The domain ID allocation covers dom0 or late hwdom, predefined domains,
> > post-boot domains, excluding Xen system domains (domid >=
> > DOMID_FIRST_RESERVED).
> >
> > It makes sense to have a common helper code for such task across architectures
> > (Arm and x86) and between dom0less / toolstack domU allocation.
> >
> > Note, fixing dependency on max_init_domid is out of scope of this patch.
>
> I can see why. The console switch code is a bit annoying. It's unfortunate it
> relies on that global for the early wraparound.
Yep, I have a series which removes `max_init_domid` here:
https://lore.kernel.org/xen-devel/20250530231841.73386-1-dmukhin@ford.com/
next prev parent reply other threads:[~2025-07-29 23:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-28 18:34 [PATCH v11 0/3] xen/domain: domain ID allocation dmkhn
2025-07-28 18:34 ` [PATCH v11 1/3] xen/domain: unify " dmkhn
2025-07-29 10:34 ` Alejandro Vallejo
2025-07-29 23:53 ` dmkhn [this message]
2025-07-28 18:34 ` [PATCH v11 2/3] tools/tests: introduce unit tests for domain ID allocator dmkhn
2025-07-28 18:34 ` [PATCH v11 3/3] xen/domain: update create_dom0() messages dmkhn
2025-07-29 8:11 ` Jan Beulich
2025-07-29 23:54 ` dmkhn
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=aIle2z3jJeP5E8qM@kraken \
--to=dmkhn@proton.me \
--cc=alejandro.garciavallejo@amd.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=dmukhin@ford.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.