libvirt/tests/nodedevschemadata
Erik Skultety 88ef73e13c nodedev: Introduce mdev capability for mediated devices
Start discovering the mediated devices on the host system and format the
attributes for the mediated device into the XML. Compared to the parent
device which reports generic information about the abstract mediated
devices types, a child device only reports the type name it has been
instantiated from and the IOMMU group number, since that's device
specific compared to the rest of the info that can be gathered about
mediated devices at the moment.
This patch introduces both the formatting and parsing routines, updates
nodedev.rng schema, adding a testcase as well.

The resulting mdev child device XML:
<device>
  <name>mdev_4b20d080_1b54_4048_85b3_a6a62d165c01</name>
  <path>/sys/devices/.../4b20d080-1b54-4048-85b3-a6a62d165c01</path>
  <parent>pci_0000_06_00_0</parent>
  <driver>
    <name>vfio_mdev</name>
  </driver>
  <capability type='mdev'>
    <type id='vendor_supplied_type_id'/>
    <iommuGroup number='NUM'/>
  <capability/>
<device/>

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

Signed-off-by: Erik Skultety <eskultet@redhat.com>
2017-05-18 12:21:45 +02:00
..
computer.xml Add nodedevxml2xml test 2009-02-24 14:58:32 +00:00
drm_renderD129.xml nodedev: add drm capability 2017-02-17 15:47:58 +01:00
DVD_GCC_4247N.xml Add nodedevxml2xml test 2009-02-24 14:58:32 +00:00
DVD_with_media.xml nodedev: Add removable storage 'media_label' prop 2009-12-14 14:58:23 +01:00
mdev_3627463d_b7f0_4fea_b468_f1da537d301b.xml nodedev: Introduce mdev capability for mediated devices 2017-05-18 12:21:45 +02:00
net_00_13_02_b9_f9_d3.xml nodedev: add RDMA and tx-udp_tnl-segmentation NIC capabilities 2015-07-21 07:08:35 -04:00
net_00_15_58_2f_e9_55.xml nodedev: add RDMA and tx-udp_tnl-segmentation NIC capabilities 2015-07-21 07:08:35 -04:00
pci_0000_00_1c_0_header_type.xml Move capability formatting together 2016-05-02 15:46:23 +02:00
pci_0000_00_02_0_header_type.xml nodedev: Expose PCI header type 2016-03-18 17:35:06 +01:00
pci_0000_02_10_7_mdev_types.xml nodedev: Introduce the mdev capability to a PCI parent device 2017-05-18 12:21:33 +02:00
pci_0000_02_10_7_sriov_pf_vfs_all_header_type.xml schemas: Update nodedev schema to match reality 2016-05-02 15:46:23 +02:00
pci_0000_02_10_7_sriov_pf_vfs_all.xml schemas: Update nodedev schema to match reality 2016-05-02 15:46:23 +02:00
pci_0000_02_10_7_sriov_vfs.xml schemas: Update nodedev schema to match reality 2016-05-02 15:46:23 +02:00
pci_0000_02_10_7_sriov_zero_vfs_max_count.xml schemas: Update nodedev schema to match reality 2016-05-02 15:46:23 +02:00
pci_0000_02_10_7_sriov.xml schemas: Update nodedev schema to match reality 2016-05-02 15:46:23 +02:00
pci_1002_71c4.xml nodedev: Export NUMA node locality for PCI devices 2014-06-06 15:10:57 +02:00
pci_8086_0c0c_snd_hda_intel.xml nodedev: Introduce <pci-express/> to PCI devices 2014-06-16 17:40:49 +02:00
pci_8086_10c9_sriov_pf.xml nodedev: Export NUMA node locality for PCI devices 2014-06-06 15:10:57 +02:00
pci_8086_27c5_scsi_host_0_unique_id.xml Add unique_id to nodedev output 2014-07-21 12:55:11 -04:00
pci_8086_27c5_scsi_host_0.xml Add nodedevxml2xml test 2009-02-24 14:58:32 +00:00
pci_8086_27c5_scsi_host_scsi_device_lun0.xml Add nodedevxml2xml test 2009-02-24 14:58:32 +00:00
pci_8086_27c5_scsi_host_scsi_host.xml Add nodedevxml2xml test 2009-02-24 14:58:32 +00:00
pci_8086_27c5_scsi_host.xml Add nodedevxml2xml test 2009-02-24 14:58:32 +00:00
pci_8086_4238_pcie_wireless.xml nodedev: Introduce <pci-express/> to PCI devices 2014-06-16 17:40:49 +02:00
pci_82579LM_network_adapter.xml Update xml schemas according to libvirt source 2012-08-02 14:36:23 -06:00
scsi_target0_0_0.xml tests: nodedevxml2xml: add test for SCSI target 2016-03-21 12:06:49 -04:00
storage_serial_3600c0ff000d7a2a5d463ff4902000000.xml nodedev: add <devnode> paths 2017-02-17 15:47:58 +01:00
storage_serial_SATA_HTS721010G9SA00_MPCZ12Y0GNGWSE.xml Add nodedevxml2xml test 2009-02-24 14:58:32 +00:00
usb_device_1d6b_1_0000_00_1d_0_if0.xml Add nodedevxml2xml test 2009-02-24 14:58:32 +00:00
usb_device_1d6b_1_0000_00_1d_0.xml Add nodedevxml2xml test 2009-02-24 14:58:32 +00:00