libvirt/tests/nodedevschemadata
John Ferlan 4804a4db33 schema: Add missing block data for nodedev
https://bugzilla.redhat.com/show_bug.cgi?id=1566416

Commit id 'fe2af45b' added output for logical_block_size and
num_blocks for both removeable and fixed storage, but did not
update the nodedev capability causing virt-xml-validate to fail.
It's listed as optional only because it only prints if the
sizes are > 0. For a CDROM drive the values won't be formatted.

Update the nodedevxml2xmltest in order to output the values
for storage based on the logic from udevProcessRemoveableMedia
and udevProcessSD with respect to the logical_blocksize and
num_blocks calculations.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by Michal Privoznik <mprivozn@redhat.com>
2018-05-25 09:36:42 -04:00
..
ccw_0_0_10000-invalid.xml node_device: detect CCW devices 2017-05-26 10:44:05 -04:00
ccw_0_0_ffff.xml node_device: detect CCW devices 2017-05-26 10:44:05 -04:00
computer.xml
drm_renderD129.xml
DVD_GCC_4247N.xml
DVD_with_media.xml schema: Add missing block data for nodedev 2018-05-25 09:36:42 -04: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 switchdev to NIC capabilities 2017-09-18 08:32:24 -04:00
net_00_15_58_2f_e9_55.xml nodedev: add switchdev to NIC capabilities 2017-09-18 08:32:24 -04:00
pci_0000_00_1c_0_header_type.xml
pci_0000_00_02_0_header_type.xml
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
pci_0000_02_10_7_sriov_pf_vfs_all.xml
pci_0000_02_10_7_sriov_vfs.xml
pci_0000_02_10_7_sriov_zero_vfs_max_count.xml
pci_0000_02_10_7_sriov.xml
pci_1002_71c4.xml
pci_8086_0c0c_snd_hda_intel.xml
pci_8086_10c9_sriov_pf.xml
pci_8086_27c5_scsi_host_0_unique_id.xml
pci_8086_27c5_scsi_host_0.xml
pci_8086_27c5_scsi_host_scsi_device_lun0.xml
pci_8086_27c5_scsi_host_scsi_host.xml
pci_8086_27c5_scsi_host.xml
pci_8086_4238_pcie_wireless.xml
pci_82579LM_network_adapter.xml
scsi_target0_0_0.xml
scsi_target1_0_0.xml node_device: introduce new capability FC_RPORT 2017-05-26 10:44:05 -04:00
storage_serial_3600c0ff000d7a2a5d463ff4902000000.xml schema: Add missing block data for nodedev 2018-05-25 09:36:42 -04:00
storage_serial_SATA_HTS721010G9SA00_MPCZ12Y0GNGWSE.xml schema: Add missing block data for nodedev 2018-05-25 09:36:42 -04:00
usb_device_1d6b_1_0000_00_1d_0_if0.xml
usb_device_1d6b_1_0000_00_1d_0.xml