SYNOPSIS
virt-xml-validate XML-FILE [SCHEMA-NAME]
virt-xml-validate OPTION
DESCRIPTION
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.Valid schema names currently include
- "domainsnapshot"
- The schema for the XML format used by domain snapshot configuration
- "domain"
- The schema for the XML format used by guest domains configuration
- "network"
- The schema for the XML format used by virtual network configuration
- "storagepool"
- The schema for the XML format used by storage pool configuration
- "storagevol"
- The schema for the XML format used by storage volume descriptions
- "nodedev"
- The schema for the XML format used by node device descriptions
- "capability"
- The schema for the XML format used to declare driver capabilities
- "nwfilter"
- The schema for the XML format used by network traffic filters
- "secret"
- The schema for the XML format used by secrets descriptions
- "interface"
- The schema for the XML format used by physical host interfaces
OPTIONS
- -h, --help
- Display command line help usage then exit.
- -V, --version
- Display version information then exit.