aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDmitry Guryanov <dguryanov@parallels.com>2012-08-13 19:50:14 +0400
committerDaniel Veillard <veillard@redhat.com>2012-08-15 16:39:40 +0800
commit9700ca82fe4e24a91e344d287c00564b42b04eb3 (patch)
tree2bc17110b26d59ac1b88cec71eefa4bc8ac15e6b /docs
parentparallels: cleanup parallelsOpen and fix error message (diff)
downloadlibvirt-9700ca82fe4e24a91e344d287c00564b42b04eb3.tar.gz
libvirt-9700ca82fe4e24a91e344d287c00564b42b04eb3.tar.bz2
libvirt-9700ca82fe4e24a91e344d287c00564b42b04eb3.zip
parallels: add domain configuration example
Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/drvparallels.html.in39
-rw-r--r--docs/schemas/domaincommon.rng1
2 files changed, 40 insertions, 0 deletions
diff --git a/docs/drvparallels.html.in b/docs/drvparallels.html.in
index 8e1430b5e..0a864512d 100644
--- a/docs/drvparallels.html.in
+++ b/docs/drvparallels.html.in
@@ -25,4 +25,43 @@ parallels://example.com/system (remote access, TLS/x509)
parallels+tcp://example.com/system (remote access, SASl/Kerberos)
parallels+ssh://root@example.com/system (remote access, SSH tunnelled)
</pre>
+
+ <h2><a name="example">Example guest domain XML configuration</a></h2>
+
+ <p>
+ Parallels 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>
+&lt;domain type='parallels'&gt;
+ &lt;name&gt;demo&lt;/name&gt;
+ &lt;uuid&gt;54cdecad-4492-4e31-a209-33cc21d64057&lt;/uuid&gt;
+ &lt;description&gt;some description&lt;/description&gt;
+ &lt;memory unit='KiB'&gt;1048576&lt;/memory&gt;
+ &lt;currentMemory unit='KiB'&gt;1048576&lt;/currentMemory&gt;
+ &lt;vcpu placement='static'&gt;2&lt;/vcpu&gt;
+ &lt;os&gt;
+ &lt;type arch='x86_64'&gt;hvm&lt;/type&gt;
+ &lt;/os&gt;
+ &lt;clock offset='utc'/&gt;
+ &lt;on_poweroff&gt;destroy&lt;/on_poweroff&gt;
+ &lt;on_reboot&gt;destroy&lt;/on_reboot&gt;
+ &lt;on_crash&gt;destroy&lt;/on_crash&gt;
+ &lt;devices&gt;
+ &lt;disk type='file' device='disk'&gt;
+ &lt;source file='/storage/vol1'/&gt;
+ &lt;target dev='hda'/&gt;
+ &lt;/disk&gt;
+ &lt;video&gt;
+ &lt;model type='vga' vram='33554432' heads='1'&gt;
+ &lt;acceleration accel3d='no' accel2d='no'/&gt;
+ &lt;/model&gt;
+ &lt;/video&gt;
+ &lt;/devices&gt;
+&lt;/domain&gt;
+
+</pre>
+
</body></html>
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index c85d76307..1b94155ac 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -179,6 +179,7 @@
<value>hyperv</value>
<value>vbox</value>
<value>phyp</value>
+ <value>parallels</value>
</choice>
</attribute>
</define>