[PATCH v2 0/5] Support CSS and DASD devices in node_device driver

Boris Fiuczynski fiuczy at linux.ibm.com
Mon Sep 14 19:11:42 UTC 2020


This series enables support for channel subsystem (CSS) devices,
Direct Access Storage Devices (DASDs) in the node_device driver and
adds support to create vfio-ccw mdev devices in the node_device driver.

Changed in V2:
 * now filtering only supported drivers in udevProcessCSS
 * renamed udevProcessDasd into udevProcessDASD
 * addend explaining comment in udevKludgeStorageType
 * generalized error message in nodeDeviceGetMdevctlStartCommand

Boris Fiuczynski (5):
  node_device: refactor udevProcessCCW
  node_device: detect CSS devices
  virsh: nodedev: ability to filter CSS capabilities
  node_device: detect DASD devices
  node_device: mdev vfio-ccw support

 docs/formatnode.html.in                       | 12 +++
 docs/manpages/virsh.rst                       |  2 +-
 docs/schemas/nodedev.rng                      | 16 ++++
 include/libvirt/libvirt-nodedev.h             |  1 +
 src/conf/domain_addr.c                        |  2 +-
 src/conf/domain_addr.h                        |  3 +
 src/conf/node_device_conf.c                   |  5 ++
 src/conf/node_device_conf.h                   |  4 +-
 src/conf/virnodedeviceobj.c                   |  4 +-
 src/libvirt-nodedev.c                         |  1 +
 src/libvirt_private.syms                      |  1 +
 src/node_device/node_device_driver.c          | 26 ++++--
 src/node_device/node_device_udev.c            | 80 ++++++++++++++++---
 .../ccw_0_0_10000-invalid.xml                 |  4 +-
 tests/nodedevschemadata/ccw_0_0_ffff.xml      |  4 +-
 tests/nodedevschemadata/css_0_0_ffff.xml      | 10 +++
 tests/nodedevxml2xmltest.c                    |  1 +
 tools/virsh-nodedev.c                         |  3 +
 18 files changed, 153 insertions(+), 26 deletions(-)
 create mode 100644 tests/nodedevschemadata/css_0_0_ffff.xml

-- 
2.25.1




More information about the libvir-list mailing list