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

Boris Fiuczynski posted 5 patches 1 week ago
Test syntax-check failed
Failed in applying to current master (apply log)
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

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

Posted by Boris Fiuczynski 1 week ago
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

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

Posted by Erik Skultety 1 week ago
On Mon, Sep 14, 2020 at 09:11:42PM +0200, Boris Fiuczynski wrote:
> 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

Reviewed-by: Erik Skultety <eskultet@redhat.com>

and pushed.

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

Posted by Boris Fiuczynski 1 week ago
On 9/15/20 9:10 AM, Erik Skultety wrote:
> On Mon, Sep 14, 2020 at 09:11:42PM +0200, Boris Fiuczynski wrote:
>> 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
> 
> Reviewed-by: Erik Skultety <eskultet@redhat.com>
> 
> and pushed.
> 

Thanks Erik!

-- 
Mit freundlichen Grüßen/Kind regards
    Boris Fiuczynski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Gregor Pillen
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294