libvirt/docs/schemas
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
..
basictypes.rng numa: describe siblings distances within cells 2017-11-12 19:39:00 -07:00
capability.rng schema: Fix capability grammar for pagesElem 2018-05-25 09:36:42 -04:00
cputypes.rng conf: Introduce memoryBacking/discard 2018-05-14 09:42:20 +02:00
domain.rng
domaincaps.rng domcaps: Add 'genid' to domain capabilities 2018-05-25 08:15:58 -04:00
domaincommon.rng conf: Add VM Generation ID parse/format support 2018-05-25 08:04:34 -04:00
domainsnapshot.rng qemu: Store save cookie in save images and snapshots 2017-06-07 13:36:02 +02:00
interface.rng
network.rng
networkcommon.rng
nodedev.rng schema: Add missing block data for nodedev 2018-05-25 09:36:42 -04:00
nwfilter.rng
secret.rng
storagecommon.rng util: storage: Drop pointless 'enabled' form PR definition 2018-05-16 06:32:28 +02:00
storagepool.rng
storagevol.rng schema: Add physical sizing element for storagevol grammar 2018-05-25 09:32:37 -04:00