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 conf: set up for per-grammar overrides in schemas 2014-04-15 21:07:59 +02:00
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 docs: make interface start mode element optional 2017-03-27 10:22:15 -04:00
network.rng rng: Fix formatting 2017-09-12 13:41:21 +02:00
networkcommon.rng domain_conf: Introduce <mtu/> to <interface/> 2017-01-26 09:59:56 +01:00
nodedev.rng schema: Add missing block data for nodedev 2018-05-25 09:36:42 -04:00
nwfilter.rng rng: fix nwfilter rule contents 2017-12-07 09:21:04 +00:00
secret.rng conf: Add new secret type "tls" 2016-09-09 08:20:05 -04:00
storagecommon.rng util: storage: Drop pointless 'enabled' form PR definition 2018-05-16 06:32:28 +02:00
storagepool.rng docs,rng: Adjust storage pool name grammar checks 2017-10-05 08:10:46 -04:00
storagevol.rng schema: Add physical sizing element for storagevol grammar 2018-05-25 09:32:37 -04:00