From: Laine Stump Date: Tue, 22 Mar 2016 15:38:53 +0000 (-0400) Subject: schema: make pci slot and function optional X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=51156bcff371b2622465a0de269872f7779295cf;p=libvirt.git 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. --- diff --git a/docs/schemas/basictypes.rng b/docs/schemas/basictypes.rng index a83063afcc..084d4033e7 100644 --- a/docs/schemas/basictypes.rng +++ b/docs/schemas/basictypes.rng @@ -75,12 +75,16 @@ - - - - - - + + + + + + + + + +