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
22domainsnapshot
23
24       The schema for the XML format used by domain snapshot configuration
25
26domain
27
28       The schema for the XML format used by guest domains configuration
29
30network
31
32       The schema for the XML format used by virtual network configuration
33
34storagepool
35
36       The schema for the XML format used by storage pool configuration
37
38storagevol
39
40       The schema for the XML format used by storage volume descriptions
41
42nodedev
43
44       The schema for the XML format used by node device descriptions
45
46capability
47
48       The schema for the XML format used to declare driver capabilities
49
50nwfilter
51
52       The schema for the XML format used by network traffic filters
53
54nwfilterbinding
55
56       The schema for XML format used by network filter bindings.
57
58secret
59
60       The schema for the XML format used by secrets descriptions
61
62interface
63
64       The schema for the XML format used by physical host interfaces
65

OPTIONS

67       -h, --help
68
69       Display command line help usage then exit.
70
71       -V, --version
72
73       Display version information then exit.
74

EXIT STATUS

76       Upon successful validation, an exit status of 0 will be set. Upon fail‐
77       ure a non-zero status will be set.
78

AUTHOR

80       Daniel P. Berrangé
81

BUGS

83       Please report all bugs you discover.  This should be done via either:
84
85       1. the mailing list
86
87          https://libvirt.org/contact.html
88
89       2. the bug tracker
90
91          https://libvirt.org/bugs.html
92
93       Alternatively, you may report bugs to your software distributor /  ven‐
94       dor.
95
97       Copyright  (C) 2009-2013 by Red Hat, Inc.  Copyright (C) 2009 by Daniel
98       P. Berrangé
99

LICENSE

101       virt-xml-validate is distributed under the terms of the  GNU  GPL  v2+.
102       This  is free software; see the source for copying conditions. There is
103       NO warranty; not even for MERCHANTABILITY or FITNESS FOR  A  PARTICULAR
104       PURPOSE
105

SEE ALSO

107       virsh(1), online XML format descriptions, https://libvirt.org/
108
109
110
111
112                                                          VIRT-XML-VALIDATE(1)
Impressum