Files
xen/tools
Juergen Gross 70038e8c09 tools/xl: fix channel configuration setting
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_device_channel_init().

Fixes: 3a66796347 ("libxl: set channel devid when not provided by application")
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
master commit: e1ccced4af
master date: 2025-03-05 16:37:37 +0100
2025-03-20 12:50:24 +01:00
..
2024-09-04 16:06:21 +02:00
2024-05-15 19:59:52 +01:00
2024-07-18 16:00:52 +01:00
2024-09-04 16:07:41 +02:00
2025-02-21 14:58:54 +00:00