Files
xen/tools/xl
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
..
2017-03-02 13:41:03 +00:00
2017-02-28 10:40:07 +00:00
2018-10-08 15:20:18 +01:00
2017-02-28 10:40:07 +00:00
2017-02-28 10:40:07 +00:00