]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: add optional device address of channel device to css device
authorBoris Fiuczynski <fiuczy@linux.ibm.com>
Fri, 13 May 2022 10:31:15 +0000 (12:31 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 23 May 2022 14:32:35 +0000 (16:32 +0200)
commit122b975e4004c83b6fc442ec6cdfd71eb5b55cc4
tree7cab4d67d55c76916e8ae849e9c51cbc10b1bb1b
parente9ba2ced0b6bdcf6ed4c4b38d8f3fc63b6fa6d59
nodedev: add optional device address of channel device to css device

Add the new introduced sysfs attribute dev_busid which provides the address
of the device in the subchannel independent from the bound device driver.
It is added if available in the sysfs as optional channel_dev_addr element into
the css device capabilty providing the ccw deivce address attributes cssid,
ssid and devno.

Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/node_device_conf.c
src/conf/node_device_conf.h
src/conf/schemas/nodedev.rng
src/node_device/node_device_udev.c