Re: DTD or Schema for VM definition file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/30/2013 03:48 PM, Jorge Fábregas wrote:
> Hi there,
>
> Is there any DTD or Schema for the VM's XML file?  I found an
> interesting doc called "Domain XML Format", on the libvirt website,
> which explains all the elements but didn't find any reference to a
> Schema or DTD.

Look in the libvirt source under docs/schemas. The toplevel file for a
virtual machine (aka "domain") is domain.rng. In practice there is some
validation that can't be done in the RNG, but it's a fairly reasonable
approximation :-)

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]