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

Re: [PATCH v8] xen/domain: introduce DOMID_ANY



On Thu, May 07, 2026 at 01:28:40PM -0700, dmukhin@xxxxxxxx wrote:
> From: Denis Mukhin <dmukhin@xxxxxxxx> 
> 
> Add a new symbol DOMID_ANY to improve the readability of the code.
> 
> Update all relevant domid_alloc() call sites and harden the domid_alloc()
> input value check.
> 
> Also, fix problem with passing invalid domain IDs in
> XEN_DOMCTL_createdomain: turns out libxl__domain_make() (toolstack)
> uses 0xffff as domain ID.
> 
> Fix failing tools tests too.
> 
> Amends: 2d5065060710 ("xen/domain: unify domain ID allocation")
> Signed-off-by: Denis Mukhin <dmukhin@xxxxxxxx>
> ---
> Changes since v7:
> - aligned the DOMID_ANY comment with another patch sent separately to
>   unblock xenstore series: 
> https://lore.kernel.org/xen-devel/20260429120619.1013440-2-jgross@xxxxxxxx/
> - added fixups to mem-claim, paging-mempool, resource and tsx tests.
> - Link to v7: 
> https://lore.kernel.org/xen-devel/20260408234046.1314021-1-dmukhin@xxxxxxxx/
> - Link to full CI: 
> https://gitlab.com/xen-project/people/sstabellini/xen/-/pipelines/2508345752

For the tools part:
Reviewed-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>

Thanks,


--
Anthony Perard | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech

 


Rackspace

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