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

Boris Fiuczynski posted 10 patches 3 years, 5 months ago
Test syntax-check failed
Failed in applying to current master (apply log)
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
[PATCH 00/10] Make mdev_types generic and support it on CSS devices
Posted by Boris Fiuczynski 3 years, 5 months ago
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

Re: [PATCH 00/10] Make mdev_types generic and support it on CSS devices
Posted by Erik Skultety 3 years, 5 months ago
On Fri, Oct 23, 2020 at 07:31:42PM +0200, Boris Fiuczynski wrote:
> 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.

Hi Boris,
I will start looking at the patches next week.

Regards,
Erik