mirror of https://gitee.com/openkylin/libvirt.git
71 lines
2.1 KiB
XML
71 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<body>
|
|
<h1>Virtuozzo driver</h1>
|
|
<ul id="toc"></ul>
|
|
<p>
|
|
The libvirt vz driver can manage Virtuozzo starting from version 6.0.
|
|
</p>
|
|
|
|
|
|
<h2><a id="project">Project Links</a></h2>
|
|
<ul>
|
|
<li>
|
|
The <a href="http://www.odin.com/products/virtuozzo/">Virtuozzo</a> Solution.
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
<h2><a id="uri">Connections to the Virtuozzo driver</a></h2>
|
|
<p>
|
|
The libvirt Virtuozzo driver is a single-instance privileged driver, with a driver name of 'virtuozzo'. Some example connection URIs for the libvirt driver are:
|
|
</p>
|
|
<pre>
|
|
vz:///system (local access)
|
|
vz+unix:///system (local access)
|
|
vz://example.com/system (remote access, TLS/x509)
|
|
vz+tcp://example.com/system (remote access, SASl/Kerberos)
|
|
vz+ssh://root@example.com/system (remote access, SSH tunnelled)
|
|
</pre>
|
|
|
|
<h2><a id="example">Example guest domain XML configuration</a></h2>
|
|
|
|
<p>
|
|
Virtuozzo driver require at least one hard disk for new domains
|
|
at this time. It is used for defining directory, where VM should
|
|
be created.
|
|
</p>
|
|
|
|
<pre>
|
|
<domain type='vz'>
|
|
<name>demo</name>
|
|
<uuid>54cdecad-4492-4e31-a209-33cc21d64057</uuid>
|
|
<description>some description</description>
|
|
<memory unit='KiB'>1048576</memory>
|
|
<currentMemory unit='KiB'>1048576</currentMemory>
|
|
<vcpu placement='static'>2</vcpu>
|
|
<os>
|
|
<type arch='x86_64'>hvm</type>
|
|
</os>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>destroy</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<disk type='file' device='disk'>
|
|
<source file='/storage/vol1'/>
|
|
<target dev='hda'/>
|
|
</disk>
|
|
<video>
|
|
<model type='vga' vram='33554432' heads='1'>
|
|
<acceleration accel3d='no' accel2d='no'/>
|
|
</model>
|
|
</video>
|
|
</devices>
|
|
</domain>
|
|
|
|
</pre>
|
|
|
|
</body></html>
|