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
11       virt-xml-validate OPTION
12

DESCRIPTION

14       Validates  a libvirt XML for compliance with the published schema.  The
15       first compulsory argument is the path to the XML file to be  validated.
16       The  optional  second  argument  is  the name of the schema to validate
17       against. If omitted, the schema name will be inferred from the name  of
18       the root element in the XML document.
19
20       Valid schema names currently include
21
22cpu
23
24       The schema for the XML format of cpu
25
26domainsnapshot
27
28       The schema for the XML format used by domain snapshot configuration
29
30domaincheckpoint
31
32       The schema for the XML format used by domain checkpoint configuration
33
34domainbackup
35
36       The schema for the XML format used by domain backup configuration
37
38domaincaps
39
40       The schema for the XML format of domain capabilities
41
42domain
43
44       The schema for the XML format used by guest domains configuration
45
46networkport
47
48       The schema for the XML format used by network port configuration
49
50network
51
52       The schema for the XML format used by virtual network configuration
53
54storagepoolcaps
55
56       The schema for the XML format of storage pool capabilities
57
58storagepool
59
60       The schema for the XML format used by storage pool configuration
61
62storagevol
63
64       The schema for the XML format used by storage volume descriptions
65
66nodedev
67
68       The schema for the XML format used by node device descriptions
69
70capability
71
72       The schema for the XML format used to declare driver capabilities
73
74nwfilter
75
76       The schema for the XML format used by network traffic filters
77
78nwfilterbinding
79
80       The schema for XML format used by network filter bindings.
81
82secret
83
84       The schema for the XML format used by secrets descriptions
85
86interface
87
88       The schema for the XML format used by physical host interfaces
89

OPTIONS

91       -h, --help
92
93       Display command line help usage then exit.
94
95       -V, --version
96
97       Display version information then exit.
98

EXIT STATUS

100       Upon successful validation, an exit status of 0 will be set. Upon fail‐
101       ure a non-zero status will be set.
102

AUTHOR

104       Daniel P. Berrangé
105

BUGS

107       Please report all bugs you discover.  This should be done via either:
108
109       1. the mailing list
110
111          https://libvirt.org/contact.html
112
113       2. the bug tracker
114
115          https://libvirt.org/bugs.html
116
117       Alternatively, you may report bugs to your software distributor /  ven‐
118       dor.
119
121       Copyright  (C) 2009-2013 by Red Hat, Inc.  Copyright (C) 2009 by Daniel
122       P. Berrangé
123

LICENSE

125       virt-xml-validate is distributed under the terms of the  GNU  GPL  v2+.
126       This  is free software; see the source for copying conditions. There is
127       NO warranty; not even for MERCHANTABILITY or FITNESS FOR  A  PARTICULAR
128       PURPOSE
129

SEE ALSO

131       virsh(1), online XML format descriptions, https://libvirt.org/
132
133
134
135
136                                                          VIRT-XML-VALIDATE(1)
Impressum