summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Guryanov <dguryanov@parallels.com>2012-09-12 16:40:54 +0400
committerDaniel Veillard <veillard@redhat.com>2012-09-13 21:19:58 +0800
commita62116de3259b3826a53fd146fdd89f792bd69c0 (patch)
tree5a6a2d6fc2b681c0bc7135cb892cc092158c0927 /tests/domainschemadata
parentparallels: fix parallelsDomainDefineXML for existing containers (diff)
downloadlibvirt-a62116de3259b3826a53fd146fdd89f792bd69c0.tar.gz
libvirt-a62116de3259b3826a53fd146fdd89f792bd69c0.tar.bz2
libvirt-a62116de3259b3826a53fd146fdd89f792bd69c0.zip
parallels: implement containers creation
Add separate function parallelsCreateCt, which creates container. Also add example xml configuration domain-parallels-ct-simple.xml. Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
Diffstat (limited to 'tests/domainschemadata')
-rw-r--r--tests/domainschemadata/domain-parallels-ct-simple.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/domainschemadata/domain-parallels-ct-simple.xml b/tests/domainschemadata/domain-parallels-ct-simple.xml
new file mode 100644
index 000000000..a2b87ce85
--- /dev/null
+++ b/tests/domainschemadata/domain-parallels-ct-simple.xml
@@ -0,0 +1,27 @@
+<domain type='parallels'>
+ <name>1010</name>
+ <uuid>88576506-d611-41c2-b6b6-c9043704a0dd</uuid>
+ <description></description>
+ <memory unit='KiB'>262144</memory>
+ <currentMemory unit='KiB'>262144</currentMemory>
+ <vcpu placement='static'>8</vcpu>
+ <os>
+ <type arch='x86_64'>exe</type>
+ <init>/sbin/init</init>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>destroy</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <filesystem type='template'>
+ <source name='centos-6-x86_64'/>
+ <target dir='/'/>
+ </filesystem>
+ <video>
+ <model type='vga' vram='16777216' heads='1'>
+ <acceleration accel3d='no' accel2d='no'/>
+ </model>
+ </video>
+ </devices>
+</domain>