libvirt/docs
Philipp Hahn a757e60a07 domain.rng vs. formatdomain.html#elementsUSB
The Relax-NG schema for domains regarding <hostdev> doesn't match what's
implemented in src/conf/domain_conf.c#virDomainHostdevDefFormat(): The
implementation only requires @type, but the schema currently either
required none or all three attributes (@mode, @type, and @managed) to be
defined together, because they are declared in the same
<optional)-section. (@managed is currently even undocumented on
<http://libvirt.org/formatdomain.html#elementsUSB>).

Thus the following minimal <hostdev>-example fails to validate:
<domain type='test'>
        <name>N</name>
        <memory>4096</memory>
        <bootloader>/bin/false</bootloader>
        <os>
                <type arch='x86_64' machine='xenpv'>linux</type>
        </os>
        <devices>
                <hostdev type='pci'>
                        <source>
                                <address bus='0x06' slot='0x00' function='0x0'/>
                        </source>
                </hostdev>
        </devices>
</domain>

The schema is changed to match the current implementation:
1. @mode is optional (which defaults to 'subsystem')
2. @type is required
3. @managed is optional (which defaults to 'no')

The documentation is updated to mention @managed.

Signed-off-by: Philipp Hahn <hahn@univention.de>
2011-03-11 10:42:20 -07:00
..
api_extension maint: kill all remaining uses of old DEBUG macro 2011-02-21 08:46:52 -07:00
devhelp build: Fix API docs generation in VPATH build 2011-02-21 14:46:23 +01:00
html
internals maint: whitespace cleanup 2011-02-09 11:18:06 -07:00
schemas domain.rng vs. formatdomain.html#elementsUSB 2011-03-11 10:42:20 -07:00
.gitignore Add automatic generation of a todo item page 2010-10-12 11:26:52 +01:00
32favicon.png
api_extension.html.in build: use shorter file names for 'make dist' 2010-10-27 16:29:25 -06:00
api.html.in docs: added a table of contents to the first 11 docs files 2010-10-27 15:01:45 +11:00
apibuild.py maint: Expand tabs in python code 2011-02-18 08:59:51 +01:00
apps.html.in docs: added link for nimbus to apps page 2011-02-16 00:16:09 +11:00
archdomain.html.in
architecture.fig
architecture.gif
architecture.html.in docs: added a table of contents to the first 11 docs files 2010-10-27 15:01:45 +11:00
archnetwork.html.in docs: added a table of contents to the first 11 docs files 2010-10-27 15:01:45 +11:00
archnode.html.in
archstorage.html.in
auth.html.in docs: added a table of contents to the first 11 docs files 2010-10-27 15:01:45 +11:00
bindings.html.in docs: Add information about libvirt-php new location 2011-02-09 12:29:29 -07:00
bugs.html.in Augment bug reporting documentation 2010-11-10 13:16:37 +01:00
compiling.html.in docs: added compiling page and significantly expanded windows page 2010-12-21 20:55:10 +11:00
contact.html.in docs: added libvirt-announce to contact page 2011-01-05 18:07:30 +11:00
csharp.html.in docs: updated c# bindings with arnauds latest changes 2010-11-30 02:22:38 +11:00
deployment.html.in docs: added a table of contents to the first 11 docs files 2010-10-27 15:01:45 +11:00
devguide.html.in docs: added a table of contents to the first 11 docs files 2010-10-27 15:01:45 +11:00
docs.html.in
downloads.html.in docs: added compiling page and significantly expanded windows page 2010-12-21 20:55:10 +11:00
drivers.html.in Add info about VMware driver to the libvirt website 2010-12-23 08:12:15 -07:00
drvesx.html.in esx: Add documentation about certificates and connection problems 2010-10-22 22:08:22 +02:00
drvlxc.html.in docs: fix lxc examples 2010-08-24 11:14:46 -06:00
drvone.html.in
drvopenvz.html.in docs: fix typos 2011-02-15 13:50:28 -07:00
drvqemu.html.in docs: fix typo 2010-11-01 15:24:44 -06:00
drvremote.html.in
drvtest.html.in
drvuml.html.in docs: fix typos 2011-02-15 13:50:28 -07:00
drvvbox.html.in
drvvmware.html.in docs: Make VMware Workstation / Player page appear in the menu 2010-12-23 17:01:17 +01:00
drvxen.html.in
errors.html.in
et.png
firewall.html.in
footer_corner.png
footer_pattern.png
format.html.in
formatcaps.html.in Introduce per-device boot element 2011-01-17 17:08:13 +01:00
formatdomain.html.in domain.rng vs. formatdomain.html#elementsUSB 2011-03-11 10:42:20 -07:00
formatnetwork.html.in Give each virtual network bridge its own fixed MAC address 2011-02-17 13:36:32 -05:00
formatnode.html.in
formatnwfilter.html.in nwfilter: enable rejection of packets 2011-02-18 20:13:40 -05:00
formatsecret.html.in
formatsnapshot.html.in
formatstorage.html.in Fix broken XML entity for '>' 2010-11-25 10:40:07 +01:00
formatstorageencryption.html.in
generic.css
goals.html.in
hacking1.xsl Generate HACKING from docs/hacking.html.in 2010-11-12 19:47:20 +01:00
hacking2.xsl Generate HACKING from docs/hacking.html.in 2010-11-12 19:47:20 +01:00
hacking.html.in maint: document dislike of mismatched if/else bracing 2011-01-05 11:05:28 -07:00
hooks.html.in maint: use gnulib configmake rather than open-coding things 2010-11-17 08:58:58 -07:00
hvsupport.html.in
index.html.in docs/index.html.in: update KVM url 2011-02-07 11:14:49 -07:00
index.py maint: Expand tabs in python code 2011-02-18 08:59:51 +01:00
internals.html.in maint: whitespace cleanup 2011-02-09 11:18:06 -07:00
intro.html.in
java.html.in
library.xen
libvirt-daemon-arch.fig
libvirt-daemon-arch.png
libvirt-driver-arch.fig
libvirt-driver-arch.png
libvirt-header-bg.png
libvirt-header-logo.png
libvirt-net-logical.fig
libvirt-net-logical.png
libvirt-net-physical.fig
libvirt-net-physical.png
libvirt-object-model.fig
libvirt-object-model.png
libvirt.css docs: Add additional indentation to level 3 menu items 2010-12-17 23:10:33 +01:00
libvirtLogo.png
logging.html.in docs: grammar cleanups on logging examples 2010-09-23 11:14:23 -06:00
madeWith.png
main.css
Makefile.am maint: fix 'make dist' in VPATH build 2011-02-21 09:27:05 -07:00
newapi.xsl
news.html.in Release of libvirt-0.8.8 2011-02-17 12:11:03 +08:00
news.xsl
node.fig
node.gif
page.xsl docs: replace CRLF with LF 2011-01-28 08:44:05 -07:00
php.html.in docs: Add information about libvirt-php new location 2011-02-09 12:29:29 -07:00
python.html.in
relatedlinks.html.in
remote.html.in docs: Add docs for new extra parameter pkipath 2011-01-27 20:47:17 -07:00
search.php A couple of fixes for the search PHP code 2011-01-17 16:55:41 +08:00
site.xsl
sitemap.html.in Add libvirt-php information page 2011-02-09 09:43:09 +08:00
storage.html.in docs: fix the xml validity errors regarding name and id 2010-09-17 00:41:08 +10:00
structures.fig
subsite.xsl virCommand: docs for usage of new command APIs 2010-12-02 16:00:47 -07:00
todo.cfg-example Add automatic generation of a todo item page 2010-10-12 11:26:52 +01:00
todo.pl Fix off-by-1 in todo page generator 2010-11-05 13:24:04 +00:00
uri.html.in xen-proxy: Remove it entirely and use libvirtd instead 2010-11-08 22:00:35 +01:00
virshcmdref.html.in docs: updated memtune info again in virsh command reference 2011-01-11 07:33:15 +11:00
windows.html.in docs: updated windows page for new 0.8.7 installer 2011-01-19 05:00:44 +11:00
wrapstring.xsl Generate HACKING from docs/hacking.html.in 2010-11-12 19:47:20 +01:00