2008/9/19 Evgeniy Sokolov <evg(a)openvz.org>
Hello.
>
> To start with, I have the following questions:
>
> Does libvirt support the xml format for openvz driver described in the
> next thread?
>
http://www.redhat.com/archives/libvir-list/2008-July/msg00312.html
> (I think, that it does not. But will it support it in future? :))
>
> What libvirt functionality does openvz driver support?
> (Openvz does not mentioned in
http://libvirt.org/hvsupport.html)
>
>
Hi Anton,
OpenVZ uses generic xml format. It is common for all libvirt drivers.
one difference is filesystem:
<filesystem type="template">
<source name="<name of template>" />
<target dir="/"/>
</filesystem>
example:
<domain type='openvz'>
<name>210</name>
Does the 'name ' tag specify domain veid or veid is generated automatically?
<uuid>08344fd6-17d6-711f-6ad8-08b85777a2a2</uuid>
<vcpu>13</vcpu>
<memory>131072</memory>
<os>
<type>exe</type>
</os>
<devices>
<filesystem type="template">
<source name="centos-4-i386-minimal" />
<target dir="/"/>
<quota type="size" max="10000"/>
<quota type="inodes" max="200000"/>
</filesystem>
<interface type='bridge'>
<source bridge='eth10'/>
</interface>
<interface type='ethernet'>
<mac address='00:16:3e:34:21:9e'/>
<ip address="192.168.122.3" />
</interface>
</devices>
</domain>
--
Libvir-list mailing list
Libvir-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list