[PATCH 4/4] parallels: implement containers creation

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

 



Add separate function parallelsCreateCt, which creates container.
Also add example xml configuration domain-parallels-ct-simple.xml.

Signed-off-by: Dmitry Guryanov <dguryanov@xxxxxxxxxxxxx>
---
 .gnulib                                            |    2 +-
 .../domain-parallels-ct-simple.xml                 |   28 ++++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletions(-)
 create mode 100644 tests/domainschemadata/domain-parallels-ct-simple.xml

diff --git a/.gnulib b/.gnulib
index 440a1db..271dd74 160000
--- a/.gnulib
+++ b/.gnulib
@@ -1 +1 @@
-Subproject commit 440a1dbe523e37f206252cb034c3a62f26867e42
+Subproject commit 271dd74fdf54ec2a03e73a5173b0b5697f6088f1
diff --git a/tests/domainschemadata/domain-parallels-ct-simple.xml b/tests/domainschemadata/domain-parallels-ct-simple.xml
new file mode 100644
index 0000000..f25721c
--- /dev/null
+++ b/tests/domainschemadata/domain-parallels-ct-simple.xml
@@ -0,0 +1,28 @@
+<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>
+
-- 
1.7.1

--
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]