libvirt/docs/schemas
Laine Stump 8f578716c7 conf: allow type='pci' addresses with no address attributes specified
Prior to this, <address type='pci'/> wasn't allowed when parsing
(domain+bus+slot+function needed to be a "valid" PCI address, meaning
that at least one of domain/bus/slot had to be non-0), the RNG
required bus to be specified, and if type was set to PCI when
formatting, domain+bus+slot+function would always be output.

This makes all the address attributes optional during parse and RNG
validation, and suppresses domain+bus+slot+function if domain+bus+slot
are all 0 (NB: if d+b+s are all 0, any value for function is
nonsensical as that will never happen in the real world, and after
the next patch we will always assign a real working address to any
empty PCI address before it is ever output to anywhere).

Note that explicitly setting all attributes to 0 is equivalent to
setting none of them, which is okay, since 0000:00:00 is reserved in
any PCI bus setup, and can't be used anyway.
2016-05-20 13:54:25 -04:00
..
basictypes.rng conf: allow type='pci' addresses with no address attributes specified 2016-05-20 13:54:25 -04:00
capability.rng
domain.rng
domaincaps.rng domaincaps: Report video modelType 2016-05-09 16:05:31 -04:00
domaincommon.rng graphics: make address attribute for listen type='address' optional 2016-05-17 10:41:45 +02:00
domainsnapshot.rng
interface.rng interface: allow multiple IPv4 addresses + dhcp on a single interface 2015-05-22 10:14:01 -04:00
network.rng
networkcommon.rng schema: rename uint8range/uint24range to uint8/uint24 2016-04-14 14:00:33 -04:00
nodedev.rng schemas: Update nodedev schema to match reality 2016-05-02 15:46:23 +02:00
nwfilter.rng schema: rename uint8range/uint24range to uint8/uint24 2016-04-14 14:00:33 -04:00
secret.rng
storagecommon.rng storage: conf: Don't set any default <mode> in the XML 2015-05-25 20:52:55 -04:00
storagepool.rng conf: Add storage pool device attribute part_separator 2016-01-19 13:02:59 -05:00
storagevol.rng