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

2025-03-03 Thread Jürgen Groß
On 28.02.25 18:34, Anthony PERARD wrote: On Thu, Feb 27, 2025 at 04:10:25PM +0100, Jürgen Groß wrote: On 26.02.25 16:55, Anthony PERARD wrote: On Tue, Feb 25, 2025 at 08:30:33AM +0100, Juergen Gross wrote: Channels work differently than other device types: their devid should be -1 initially in

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

2025-02-28 Thread Anthony PERARD
On Thu, Feb 27, 2025 at 04:10:25PM +0100, Jürgen Groß wrote: > On 26.02.25 16:55, Anthony PERARD wrote: > > On Tue, Feb 25, 2025 at 08:30:33AM +0100, Juergen Gross wrote: > > > Channels work differently than other device types: their devid should > > > be -1 initially in order to distinguish them f

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

2025-02-27 Thread Jürgen Groß
On 26.02.25 16:55, Anthony PERARD wrote: On Tue, Feb 25, 2025 at 08:30:33AM +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 chann

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

2025-02-26 Thread Anthony PERARD
On Tue, Feb 25, 2025 at 08:30:33AM +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, use > ARRAY_EXTE

[PATCH v2] 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, use ARRAY_EXTEND_INIT_NODEVID() in order to avoid overwriting the devid set by libxl_devi