Fix cpuset tests

In order to fix last tests that fail for me, I had to modify the
output xml, both modified machines will fit in the first numa node, so
the cpus from that node should be mentioned in the xml and that lead
me to the fact that the problem was in the test xml and not the code.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander 2013-04-08 10:40:00 +02:00 committed by Cole Robinson
parent a2d36f8c52
commit 1876ce0af8
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
<uuid>00000000-1111-2222-3333-444444444444</uuid>
<memory>65536</memory>
<currentMemory>65536</currentMemory>
<vcpu cpuset='0,2,4,6,8,10,12,14'>2</vcpu>
<vcpu cpuset='0,1,2,3,4,5,6,7'>2</vcpu>
<os>
<type arch='i686'>hvm</type>
<boot dev='network'/>
@ -29,7 +29,7 @@
<uuid>00000000-1111-2222-3333-444444444444</uuid>
<memory>65536</memory>
<currentMemory>65536</currentMemory>
<vcpu cpuset='0,2,4,6,8,10,12,14'>2</vcpu>
<vcpu cpuset='0,1,2,3,4,5,6,7'>2</vcpu>
<os>
<type arch='i686'>hvm</type>
<boot dev='network'/>

View File

@ -3,7 +3,7 @@
<uuid>12345678-1234-1234-1234-123456789012</uuid>
<memory>409600</memory>
<currentMemory>204800</currentMemory>
<vcpu cpuset='0,2,4,6,8,10,12,14' current='5'>7</vcpu>
<vcpu cpuset='0,1,2,3,4,5,6,7' current='5'>7</vcpu>
<os>
<type arch='i686'>hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>