]> git.ipfire.org Git - thirdparty/libvirt.git/commit
schema: make pci slot and function optional
authorLaine Stump <laine@laine.org>
Tue, 22 Mar 2016 15:38:53 +0000 (11:38 -0400)
committerLaine Stump <laine@laine.org>
Thu, 14 Apr 2016 18:00:33 +0000 (14:00 -0400)
commit51156bcff371b2622465a0de269872f7779295cf
treec47dc8cd4e2ddd98d318256bc3ee266dc0b31554
parente7db22781071a39668276a395fb547c0dd90875d
schema: make pci slot and function optional

The pcie-switch-downstream-port and pcie-root-port controllers have
only a single slot, numbered 0, and the greate majority of all guest
PCI devices are plugged into function 0 of whatever slot they're
using. The parser makes these optional, setting them to 0 when not
specified, and it's logical for the schema to also make them optional.
docs/schemas/basictypes.rng