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       "domainsnapshot"
21           The schema for the XML format used by domain snapshot configuration
22
23       "domain"
24           The schema for the XML format used by guest domains configuration
25
26       "network"
27           The schema for the XML format used by virtual network configuration
28
29       "storagepool"
30           The schema for the XML format used by storage pool configuration
31
32       "storagevol"
33           The schema for the XML format used by storage volume descriptions
34
35       "nodedev"
36           The schema for the XML format used by node device descriptions
37
38       "capability"
39           The schema for the XML format used to declare driver capabilities
40
41       "nwfilter"
42           The schema for the XML format used by network traffic filters
43
44       "secret"
45           The schema for the XML format used by secrets descriptions
46
47       "interface"
48           The schema for the XML format used by physical host interfaces
49

EXIT STATUS

51       Upon successful validation, an exit status of 0 will be set. Upon
52       failure a non-zero status will be set.
53

AUTHOR

55       Daniel P.Berrange
56

BUGS

58       Report any bugs discovered to the libvirt community via the mailing
59       list "http://libvirt.org/contact.html" or bug tracker
60       "http://libvirt.org/bugs.html".  Alternatively report bugs to your
61       software distributor / vendor.
62
64       Copyright (C) 2009-2012 by Red Hat, Inc.  Copyright (C) 2009 by Daniel
65       P. Berrange
66

LICENSE

68       virt-xml-validate is distributed under the terms of the GNU GPL v2+.
69       This is free software; see the source for copying conditions. There is
70       NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
71       PURPOSE
72

SEE ALSO

74       virsh(1), online XML format descriptions
75       "http://libvirt.org/format.html"
76
77
78
79libvirt-0.10.2                    2019-06-20              VIRT-XML-VALIDATE(1)
Impressum