GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
VIRT-XML-VALIDATE(1) Virtualization Support VIRT-XML-VALIDATE(1)
 

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

virt-xml-validate XML-FILE [SCHEMA-NAME]
virt-xml-validate OPTION

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
"nwfilterbinding"
The schema for XML format used by network filter bindings.
"secret"
The schema for the XML format used by secrets descriptions
"interface"
The schema for the XML format used by physical host interfaces

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

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

Daniel P.Berrange

Report any bugs discovered to the libvirt community via the mailing list <https://libvirt.org/contact.html> or bug tracker <https://libvirt.org/bugs.html>. Alternatively report bugs to your software distributor / vendor.

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

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

virsh(1), online XML format descriptions <https://libvirt.org/format.html>
2018-07-28 libvirt-4.6.0

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.