aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOsier Yang <jyang@redhat.com>2012-05-09 00:04:36 +0800
committerEric Blake <eblake@redhat.com>2012-05-08 16:57:37 -0600
commitd70f2e117a35e93c8297285635a6cdbd7c460fc1 (patch)
treed5c7d8656107a3ca2e0beaae0869878c4a3c5f97 /tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wt.xml
parentnumad: Copy 'placement' of <numatune> to <vcpu> by default (diff)
downloadlibvirt-d70f2e117a35e93c8297285635a6cdbd7c460fc1.tar.gz
libvirt-d70f2e117a35e93c8297285635a6cdbd7c460fc1.tar.bz2
libvirt-d70f2e117a35e93c8297285635a6cdbd7c460fc1.zip
numad: Always output 'placement' of <vcpu>
<vcpu> is not an optional node. The value for its 'placement' actually always defaults to 'static' in the underlying codes. (Even no 'cpuset' and 'placement' is specified, the domain process will be pinned to all the available pCPUs).
Diffstat (limited to 'tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wt.xml')
-rw-r--r--tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wt.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wt.xml b/tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wt.xml
index 5da9d2ca4..4c6b2b3f4 100644
--- a/tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wt.xml
+++ b/tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wt.xml
@@ -3,7 +3,7 @@
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
<memory unit='KiB'>219136</memory>
<currentMemory unit='KiB'>219136</currentMemory>
- <vcpu>1</vcpu>
+ <vcpu placement='static'>1</vcpu>
<os>
<type arch='i686' machine='pc'>hvm</type>
<boot dev='hd'/>