aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-04-25 21:18:16 +0200
committerGuido Günther <agx@sigxcpu.org>2012-05-04 09:09:07 +0200
commit1cbe658bea22f24e9277cd01f6e1b45e2ff839a8 (patch)
tree42ab22e4945a1f3a069e866e23705f0c8cc8daf2 /tests/domainschemadata
parentCoverity: Fix resource leak in virnetlink.c (diff)
downloadlibvirt-1cbe658bea22f24e9277cd01f6e1b45e2ff839a8.tar.gz
libvirt-1cbe658bea22f24e9277cd01f6e1b45e2ff839a8.tar.bz2
libvirt-1cbe658bea22f24e9277cd01f6e1b45e2ff839a8.zip
openvz: read vmguarpages/privvmpages to set memory tunables
Diffstat (limited to 'tests/domainschemadata')
-rw-r--r--tests/domainschemadata/domain-openvz-simple.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/domainschemadata/domain-openvz-simple.xml b/tests/domainschemadata/domain-openvz-simple.xml
new file mode 100644
index 000000000..a121d39dd
--- /dev/null
+++ b/tests/domainschemadata/domain-openvz-simple.xml
@@ -0,0 +1,26 @@
+<domain type='openvz'>
+ <name>100</name>
+ <uuid>7109d234-f5a8-30a6-5dd2-39ca85ce3958</uuid>
+ <memory unit='KiB'>0</memory>
+ <currentMemory unit='KiB'>0</currentMemory>
+ <memtune>
+ <hard_limit unit='KiB'>278528</hard_limit>
+ <soft_limit unit='KiB'>262144</soft_limit>
+ <min_guarantee unit='KiB'>135168</min_guarantee>
+ </memtune>
+ <vcpu>1</vcpu>
+ <os>
+ <type>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' accessmode='passthrough'>
+ <source name='debian'/>
+ <target dir='/'/>
+ </filesystem>
+ </devices>
+</domain>