mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
lxc conf2xml: don't let current vcpus at 0: define won't like it
This commit is contained in:
committed by
Eric Blake
parent
627d1439c2
commit
8f4ef7e6b6
@@ -18,7 +18,7 @@
|
||||
<weight>300</weight>
|
||||
</device>
|
||||
</blkiotune>
|
||||
<vcpu placement='static' current='0'>1</vcpu>
|
||||
<vcpu placement='static'>1</vcpu>
|
||||
<os>
|
||||
<type>exe</type>
|
||||
<init>/sbin/init</init>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||
<memory unit='KiB'>65536</memory>
|
||||
<currentMemory unit='KiB'>0</currentMemory>
|
||||
<vcpu placement='static' cpuset='1-2,5-7' current='0'>1</vcpu>
|
||||
<vcpu placement='static' cpuset='1-2,5-7'>1</vcpu>
|
||||
<numatune>
|
||||
<memory mode='strict' nodeset='1-4'/>
|
||||
</numatune>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||
<memory unit='KiB'>65536</memory>
|
||||
<currentMemory unit='KiB'>0</currentMemory>
|
||||
<vcpu placement='static' current='0'>1</vcpu>
|
||||
<vcpu placement='static'>1</vcpu>
|
||||
<cputune>
|
||||
<shares>1024</shares>
|
||||
<period>500000</period>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||
<memory unit='KiB'>65536</memory>
|
||||
<currentMemory unit='KiB'>0</currentMemory>
|
||||
<vcpu placement='static' current='0'>1</vcpu>
|
||||
<vcpu placement='static'>1</vcpu>
|
||||
<os>
|
||||
<type>exe</type>
|
||||
<init>/sbin/init</init>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||
<memory unit='KiB'>65536</memory>
|
||||
<currentMemory unit='KiB'>0</currentMemory>
|
||||
<vcpu placement='static' current='0'>1</vcpu>
|
||||
<vcpu placement='static'>1</vcpu>
|
||||
<os>
|
||||
<type>exe</type>
|
||||
<init>/sbin/init</init>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<soft_limit unit='KiB'>131072</soft_limit>
|
||||
<swap_hard_limit unit='KiB'>2097152</swap_hard_limit>
|
||||
</memtune>
|
||||
<vcpu placement='static' current='0'>1</vcpu>
|
||||
<vcpu placement='static'>1</vcpu>
|
||||
<os>
|
||||
<type>exe</type>
|
||||
<init>/sbin/init</init>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||
<memory unit='KiB'>65536</memory>
|
||||
<currentMemory unit='KiB'>0</currentMemory>
|
||||
<vcpu placement='static' current='0'>1</vcpu>
|
||||
<vcpu placement='static'>1</vcpu>
|
||||
<os>
|
||||
<type>exe</type>
|
||||
<init>/sbin/init</init>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||
<memory unit='KiB'>65536</memory>
|
||||
<currentMemory unit='KiB'>0</currentMemory>
|
||||
<vcpu placement='static' current='0'>1</vcpu>
|
||||
<vcpu placement='static'>1</vcpu>
|
||||
<os>
|
||||
<type>exe</type>
|
||||
<init>/sbin/init</init>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||
<memory unit='KiB'>65536</memory>
|
||||
<currentMemory unit='KiB'>0</currentMemory>
|
||||
<vcpu placement='static' current='0'>1</vcpu>
|
||||
<vcpu placement='static'>1</vcpu>
|
||||
<os>
|
||||
<type>exe</type>
|
||||
<init>/sbin/init</init>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||
<memory unit='KiB'>65536</memory>
|
||||
<currentMemory unit='KiB'>0</currentMemory>
|
||||
<vcpu placement='static' current='0'>1</vcpu>
|
||||
<vcpu placement='static'>1</vcpu>
|
||||
<os>
|
||||
<type arch='i686'>exe</type>
|
||||
<init>/sbin/init</init>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||
<memory unit='KiB'>65536</memory>
|
||||
<currentMemory unit='KiB'>0</currentMemory>
|
||||
<vcpu placement='static' current='0'>1</vcpu>
|
||||
<vcpu placement='static'>1</vcpu>
|
||||
<os>
|
||||
<type>exe</type>
|
||||
<init>/sbin/init</init>
|
||||
|
||||
Reference in New Issue
Block a user