[PATCH 00/10] Make mdev_types generic and support it on CSS devices

Boris Fiuczynski fiuczy at linux.ibm.com
Fri Oct 23 17:31:42 UTC 2020


Since channel subsystem devices can have the capability to create an
mdev device they should expose this by listing the mdev_types capability.

Many patches of this series is concerned with refactoring existing PCI code.

Boris Fiuczynski (10):
  conf: node_device: fix mdev_types format and XML parsing code to match
    schema
  util: refactor mdev_types method from PCI to mdev
  util: refactor mdev_types methods return code usage
  conf: node_devive: refactor GetPCIMdevTypesCaps into GetMdevTypeCapes
  conf: node_device: refactor capability mdev_types formating
  conf: node_device: refactor mdev_types XML parsing
  conf: node_device: refactor CSS formating
  schema: refactor mdev_types out of PCI nodedev schema
  conf: node_device: cleanup virNodeDevCapCCWParseXML
  node_device: detecting mdev_types capability on CSS devices

 docs/drvnodedev.html.in                       |   5 +-
 docs/formatnode.html.in                       |  39 ++
 docs/schemas/nodedev.rng                      |  52 ++-
 src/conf/node_device_conf.c                   | 365 ++++++++++++------
 src/conf/node_device_conf.h                   |  11 +
 src/conf/virnodedeviceobj.c                   |   7 +-
 src/libvirt_private.syms                      |   3 +-
 src/node_device/node_device_udev.c            |   3 +
 src/util/virmdev.c                            |  67 ++++
 src/util/virmdev.h                            |   5 +
 src/util/virpci.c                             |  60 ---
 src/util/virpci.h                             |   3 -
 .../css_0_0_fffe_mdev_types.xml               |  17 +
 tests/nodedevxml2xmltest.c                    |   1 +
 14 files changed, 428 insertions(+), 210 deletions(-)
 create mode 100644 tests/nodedevschemadata/css_0_0_fffe_mdev_types.xml

-- 
2.25.1




More information about the libvir-list mailing list