Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

virt-xml-validate(1) [suse man page]

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

NAME
virt-xml-validate - validate libvirt XML files against a schema SYNOPSIS
virt-xml-validate XML-FILE [SCHEMA-NAME] 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 "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 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.Berrange BUGS
Report any bugs discovered to the libvirt community via the mailing list "http://libvirt.org/contact.html" or bug tracker "http://libvirt.org/bugs.html". Alternatively report bugs to your software distributor / vendor. COPYRIGHT
Copyright (C) 2009-2010 by Red Hat, Inc. Copyright (C) 2009 by Daniel P. Berrange 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 "http://libvirt.org/format.html" libvirt-0.8.1 2010-07-05 VIRT-XML-VALIDATE(1)

Check Out this Related Man Page

VIRT-PKI-VALIDATE(1)					      Virtualization Support					      VIRT-PKI-VALIDATE(1)

NAME
virt-pki-validate - validate libvirt PKI files are configured correctly SYNOPSIS
virt-pki-validate DESCRIPTION
This tool validates that the necessary PKI files are configured for a secure libvirt server or client using the TLS encryption protocol. It will report any missing certificate or key files on the host. It should be run as root to ensure it can read all the necessary files EXIT STATUS
Upon successful validation, an exit status of 0 will be set. Upon failure a non-zero status will be set. AUTHOR
Richard Jones BUGS
Report any bugs discovered to the libvirt community via the mailing list "http://libvirt.org/contact.html" or bug tracker "http://libvirt.org/bugs.html". Alternatively report bugs to your software distributor / vendor. COPYRIGHT
Copyright (C) 2006-2010 by Red Hat, Inc. LICENSE
virt-pki-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 PKI setup instructions "http://libvirt.org/remote.html" libvirt-0.8.1 2010-07-05 VIRT-PKI-VALIDATE(1)
Man Page

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

XMLLINT COMMAND IN UNIX TO VALIDATE XML AGAINST XSD

Hi i am baby to unix shell script. how do i validate xml agaist xsd and transforms xml using xslt. Thanks Mohan (2 Replies)
Discussion started by: mohan.cheepu
2 Replies

2. Programming

Help with XML, HTML

Post closed (2 Replies)
Discussion started by: Xperia124
2 Replies

3. Programming

problem with accessing online XML file

Hi everyone, I am trying to access an online XML file, for example: <a href="http://www.rgraph.net/sample.xml" target="_blank">http://www.rgraph.net/sample.xml using HTML. <html> <body> <script type="text/javascript"> if (window.XMLHttpRequest) {// code for IE7+, Firefox,... (1 Reply)
Discussion started by: Xperia124
1 Replies

4. Shell Programming and Scripting

find un-closed tags in XML files

Hi All, I am trying to validate XMLs from a folder: Input Directory having multiple XML files: File1.xml <Root> <Parent> <Child Name="One"> <Foo>...</Foo> <Bar>...</Bar> <Baz>...</Baz> </Child> <Child Name="Two"> <Foo>...</Foo>... (3 Replies)
Discussion started by: unme
3 Replies

5. UNIX for Dummies Questions & Answers

XML validation

Hi, I have a requirement where I need to validate the xmls that are getting generated by an application if it is well formed or not. If it has generated incomplete xml (such as missing tags), then I need to correct it using some UNIX commands and have to process it. I even gone through... (1 Reply)
Discussion started by: siri_886
1 Replies

6. Shell Programming and Scripting

UNIX script to validate the export of a XML-formatted mapping

Can any one please share a unix script for validating the export of a mapping which is in XML format Any help would be great for me. Thanks (4 Replies)
Discussion started by: sampoorna
4 Replies

7. UNIX for Advanced & Expert Users

Libvirt does not work correctly anymore on my gentoo

Hi, Since a year my libvirtd does not work anymore on my Gentoodesktop. In the meantime a used virtualbox. But I would like to have back libvirt. The problem was after libvirt should not only work with root privileges. I deinstalled all things with libvirt an kvm. I removed all things from /var... (4 Replies)
Discussion started by: darktux
4 Replies

8. Shell Programming and Scripting

Validating XML file using XSD in UNIX

Hi, I have a xml file and a xsd file(xml schema file). Here using unix script i wanted to validate the xml file by referring to xsd file. The validation is in terms of Datatype,Field length and null values. If the data present in the xml file is not matching in terms of datatype,field length... (3 Replies)
Discussion started by: shree11
3 Replies

9. Linux

A question about libvirt and qemu support for "buslogic"

Simply and fast. On this page I see When <controller type ='scsi'>, there is an optional attribute model model, which can have the following values: auto buslogic ibmvscsi ... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies