mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
4804a4db33
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> |
||
---|---|---|
.. | ||
ccw_0_0_10000-invalid.xml | ||
ccw_0_0_ffff.xml | ||
computer.xml | ||
drm_renderD129.xml | ||
DVD_GCC_4247N.xml | ||
DVD_with_media.xml | ||
mdev_3627463d_b7f0_4fea_b468_f1da537d301b.xml | ||
net_00_13_02_b9_f9_d3.xml | ||
net_00_15_58_2f_e9_55.xml | ||
pci_0000_00_1c_0_header_type.xml | ||
pci_0000_00_02_0_header_type.xml | ||
pci_0000_02_10_7_mdev_types.xml | ||
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 | ||
storage_serial_3600c0ff000d7a2a5d463ff4902000000.xml | ||
storage_serial_SATA_HTS721010G9SA00_MPCZ12Y0GNGWSE.xml | ||
usb_device_1d6b_1_0000_00_1d_0_if0.xml | ||
usb_device_1d6b_1_0000_00_1d_0.xml |