Re: [PATCH] tools/xl: fix channel configuration setting

2025-02-24 Thread Anthony PERARD
On Mon, Feb 24, 2025 at 03:20:05PM +0100, Juergen Gross wrote: > Channels work differently than other device types: their devid should > be -1 initially in order to distinguish them from the primary console > which has the devid of 0. > > So when parsing the channel configuration, set devid explic

[PATCH] tools/xl: fix channel configuration setting

2025-02-24 Thread Juergen Gross
Channels work differently than other device types: their devid should be -1 initially in order to distinguish them from the primary console which has the devid of 0. So when parsing the channel configuration, set devid explicitly to -1 after expanding the channels array, as this expansion of the a