Erik Skultety 500cbc066a nodedev: Introduce the mdev capability to a PCI parent device
The parent device needs to report the generic stuff about the supported
mediated devices types, like device API, available instances, type name,
etc. Therefore this patch introduces a new nested capability element of
type 'mdev_types' with the resulting XML of the following format:

<device>
  ...
  <capability type='pci'>
    ...
    <capability type='mdev_types'>
      <type id='vendor_supplied_id'>
        <name>optional_vendor_supplied_codename</name>
        <deviceAPI>vfio-pci</deviceAPI>
        <availableInstances>NUM</availableInstances>
      </type>
        ...
      <type>
        ...
      </type>
    </capability>
  </capability>
  ...
</device>

https://bugzilla.redhat.com/show_bug.cgi?id=1452072

Signed-off-by: Erik Skultety <eskultet@redhat.com>
2017-05-18 12:21:33 +02:00
..
2016-11-21 13:15:12 +01:00
2016-12-02 09:25:13 +01:00
2016-11-11 12:15:03 +00:00
2014-12-02 07:30:10 +01:00
2015-08-25 07:21:33 -04:00
2015-03-23 09:01:30 +01:00
2017-04-01 18:27:29 +04:00
2014-03-03 17:41:26 +04:00
2013-12-02 10:21:26 +08:00
2017-04-24 14:40:00 +02:00
2017-02-17 15:47:58 +01:00
2016-08-02 14:20:31 +02:00
2014-12-02 07:30:10 +01:00
2016-11-11 09:31:10 +00:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2016-11-22 14:05:24 +01:00
2017-01-10 19:37:53 +01:00
2017-01-04 15:10:06 +01:00
2016-11-11 12:15:03 +00:00
2014-12-02 07:30:10 +01:00