]> git.ipfire.org Git - thirdparty/libvirt.git/commit
node_device: detect CCW devices
authorBjoern Walk <bwalk@linux.vnet.ibm.com>
Mon, 22 May 2017 06:38:22 +0000 (08:38 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 26 May 2017 14:44:05 +0000 (10:44 -0400)
commitb0ffd938d4a28874786e137bbc61c31c11f8bf58
tree44b5bb064224b557c3173ba5b05e6ebbd3ecae87
parenta9b98ecf4ea60d90e978b19708e99ef3d130a660
node_device: detect CCW devices

Make CCW devices available to the node_device driver. The devices are
already seen by udev so let's implement necessary code for detecting
them properly.

Topologically, CCW devices are similar to PCI devices, e.g.:

    +- ccw_0_0_1a2b
        |
        +- scsi_host0
            |
            +- scsi_target0_0_0
                |
                +- scsi_0_0_0_0

Reviewed-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
Signed-off-by: Bjoern Walk <bwalk@linux.vnet.ibm.com>
docs/schemas/basictypes.rng
docs/schemas/domaincommon.rng
docs/schemas/nodedev.rng
src/conf/node_device_conf.c
src/conf/node_device_conf.h
src/node_device/node_device_driver.c
src/node_device/node_device_udev.c
tests/nodedevschemadata/ccw_0_0_10000-invalid.xml [new file with mode: 0644]
tests/nodedevschemadata/ccw_0_0_ffff.xml [new file with mode: 0644]
tests/nodedevxml2xmltest.c
tools/virsh-nodedev.c