Linux repositories inspector

virt-xml-validate(1)

libvirt-5.10.0
2020-01-09

libvirt-bin

programs for the libvirt library

libvirt-clients

Programs for the libvirt library

libvirt

API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)

libvirt-client

Client side utilities of the libvirt library

NAME

virt-xml-validate - validate libvirt XML files against a schema

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
o domainsnapshot
The schema for the XML format used by domain snapshot configuration
o domain
The schema for the XML format used by guest domains configuration
o network
The schema for the XML format used by virtual network configuration
o storagepool
The schema for the XML format used by storage pool configuration
o storagevol
The schema for the XML format used by storage volume descriptions
o nodedev
The schema for the XML format used by node device descriptions
o capability
The schema for the XML format used to declare driver capabilities
o nwfilter
The schema for the XML format used by network traffic filters
o nwfilterbinding
The schema for XML format used by network filter bindings.
o secret
The schema for the XML format used by secrets descriptions
o interface
The schema for the XML format used by physical ho

OPTIONS

-h, --help
Display command line help usage then exit.
-V, --version
Display version information then exit.

EXIT STATUS

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

AUTHOR

Daniel P. Berrangé

BUGS

Please report all bugs you discover. This should be done via either:
1. the mailing list
2. the bug tracker
Alternatively, you may report bugs to your software distribu

COPYRIGHT

Copyright (C) 2009-2013 by Red Hat, Inc. Copyright (C) 2009 by Daniel P. Berrangé

LICENSE

virt-xml-validate 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

SEE ALSO

virsh(1), online XML format descriptions, https://libvirt.org/
⇧ Top