On 20.09.2025 19:47, [email protected] wrote: > From: Denis Mukhin <[email protected]> > > Add a new symbol DOMID_ANY aliasing DOMID_INVALID to improve the readability > of the code. > > Update all relevant domid_alloc() call sites. > > Amends: 2d5065060710 ("xen/domain: unify domain ID allocation") > Signed-off-by: Denis Mukhin <[email protected]> > --- > Changes since v1: > - moved DOMID_ANY from the public header
This addresses my comment, but not Andrew's subsequent response, specifically aiming at ... > --- a/tools/tests/domid/harness.h > +++ b/tools/tests/domid/harness.h > @@ -41,6 +41,7 @@ extern unsigned long find_next_zero_bit(const unsigned long > *addr, > > #define DOMID_FIRST_RESERVED (100) > #define DOMID_INVALID (101) > +#define DOMID_ANY DOMID_INVALID ... avoiding the need for any such secondary definitions. Jan
