.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "VIRT-XML-VALIDATE" 1 "" "" "Virtualization Support" .SH NAME virt-xml-validate \- validate libvirt XML files against a schema .SH SYNOPSIS .sp \fBvirt\-xml\-validate\fP \fIXML\-FILE\fP [\fISCHEMA\-NAME\fP] .sp \fBvirt\-xml\-validate\fP \fIOPTION\fP .SH DESCRIPTION .sp Validates a libvirt XML for compliance with the published schema. The first compulsory argument is the path to the XML file to be validated. The optional second argument is the name of the schema to validate against. If omitted, the schema name will be inferred from the name of the root element in the XML document. .sp Valid schema names currently include .INDENT 0.0 .IP \(bu 2 \fBcpu\fP .UNINDENT .sp The schema for the XML format of cpu .INDENT 0.0 .IP \(bu 2 \fBdomainsnapshot\fP .UNINDENT .sp The schema for the XML format used by domain snapshot configuration .INDENT 0.0 .IP \(bu 2 \fBdomaincheckpoint\fP .UNINDENT .sp The schema for the XML format used by domain checkpoint configuration .INDENT 0.0 .IP \(bu 2 \fBdomainbackup\fP .UNINDENT .sp The schema for the XML format used by domain backup configuration .INDENT 0.0 .IP \(bu 2 \fBdomaincaps\fP .UNINDENT .sp The schema for the XML format of domain capabilities .INDENT 0.0 .IP \(bu 2 \fBdomain\fP .UNINDENT .sp The schema for the XML format used by guest domains configuration .INDENT 0.0 .IP \(bu 2 \fBnetworkport\fP .UNINDENT .sp The schema for the XML format used by network port configuration .INDENT 0.0 .IP \(bu 2 \fBnetwork\fP .UNINDENT .sp The schema for the XML format used by virtual network configuration .INDENT 0.0 .IP \(bu 2 \fBstoragepoolcaps\fP .UNINDENT .sp The schema for the XML format of storage pool capabilities .INDENT 0.0 .IP \(bu 2 \fBstoragepool\fP .UNINDENT .sp The schema for the XML format used by storage pool configuration .INDENT 0.0 .IP \(bu 2 \fBstoragevol\fP .UNINDENT .sp The schema for the XML format used by storage volume descriptions .INDENT 0.0 .IP \(bu 2 \fBnodedev\fP .UNINDENT .sp The schema for the XML format used by node device descriptions .INDENT 0.0 .IP \(bu 2 \fBcapability\fP .UNINDENT .sp The schema for the XML format used to declare driver capabilities .INDENT 0.0 .IP \(bu 2 \fBnwfilter\fP .UNINDENT .sp The schema for the XML format used by network traffic filters .INDENT 0.0 .IP \(bu 2 \fBnwfilterbinding\fP .UNINDENT .sp The schema for XML format used by network filter bindings. .INDENT 0.0 .IP \(bu 2 \fBsecret\fP .UNINDENT .sp The schema for the XML format used by secrets descriptions .INDENT 0.0 .IP \(bu 2 \fBinterface\fP .UNINDENT .sp The schema for the XML format used by physical host interfaces .SH OPTIONS .sp \fB\-h\fP, \fB\-\-help\fP .sp Display command line help usage then exit. .sp \fB\-V\fP, \fB\-\-version\fP .sp Display version information then exit. .SH EXIT STATUS .sp Upon successful validation, an exit status of 0 will be set. Upon failure a non\-zero status will be set. .SH AUTHOR .sp Daniel P. Berrangé .SH BUGS .sp Please report all bugs you discover. This should be done via either: .INDENT 0.0 .IP 1. 3 the mailing list .sp \fI\%https://libvirt.org/contact.html\fP .IP 2. 3 the bug tracker .sp \fI\%https://libvirt.org/bugs.html\fP .UNINDENT .sp Alternatively, you may report bugs to your software distributor / vendor. .SH COPYRIGHT .sp Copyright (C) 2009\-2013 by Red Hat, Inc. Copyright (C) 2009 by Daniel P. Berrangé .SH LICENSE .sp \fBvirt\-xml\-validate\fP is distributed under the terms of the GNU GPL v2+. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE .SH SEE ALSO .sp virsh(1), \fI\%online XML format descriptions\fP, \fI\%https://libvirt.org/\fP .\" Generated by docutils manpage writer. .