1VIRT-XML-VALIDATE(1)        Virtualization Support        VIRT-XML-VALIDATE(1)
2
3
4

NAME

6         virt-xml-validate - validate libvirt XML files against a schema
7

SYNOPSIS

9         virt-xml-validate XML-FILE [SCHEMA-NAME]
10

DESCRIPTION

12       Validates a libvirt XML for compliance with the published schema.  The
13       first compulsory argument is the path to the XML file to be validated.
14       The optional second argument is the name of the schema to validate
15       against. If omitted, the schema name will be inferred from the name of
16       the root element in the XML document.
17
18       Valid schema names currently include
19
20       "domain"
21           The schema for the XML format used by guest domains configuration
22
23       "network"
24           The schema for the XML format used by virtual network configuration
25
26       "storagepool"
27           The schema for the XML format used by storage pool configuration
28
29       "storagevol"
30           The schema for the XML format used by storage volume descriptions
31
32       "nodedev"
33           The schema for the XML format used by node device descriptions
34
35       "capability"
36           The schema for the XML format used to declare driver capabilities
37

EXIT STATUS

39       Upon successful validation, an exit status of 0 will be set. Upon
40       failure a non-zero status will be set.
41

AUTHOR

43       Daniel P.Berrange
44

BUGS

46       Report any bugs discovered to the libvirt community via the mailing
47       list "http://libvirt.org/contact.html" or bug tracker
48       "http://libvirt.org/bugs.html".  Alternatively report bugs to your
49       software distributor / vendor.
50
52       Copyright (C) 2009-2010 by Red Hat, Inc.  Copyright (C) 2009 by Daniel
53       P. Berrange
54

LICENSE

56       virt-xml-validate is distributed under the terms of the GNU GPL v2+.
57       This is free software; see the source for copying conditions. There is
58       NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
59       PURPOSE
60

SEE ALSO

62       virsh(1), online XML format descriptions
63       "http://libvirt.org/format.html"
64
65
66
67libvirt-0.8.3                     2011-07-06              VIRT-XML-VALIDATE(1)
Impressum