mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
tests: Add resctrl-skx-twocaches test case to vircaps2xmltest
This doesn't add very much value for now, but future test for virresctrl will take information from vircaps2xmldata (since it is dependent on the same info then why duplicate it) and this particular use case helps us cover bit more of the code regarding proper formatting and handling errors. And one more test for vircaps2xmltest doesn't hurt either. Signed-off-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
993c7f0030
commit
d807014563
@ -0,0 +1 @@
|
|||||||
|
7ff
|
@ -0,0 +1 @@
|
|||||||
|
1
|
@ -0,0 +1 @@
|
|||||||
|
16
|
@ -0,0 +1 @@
|
|||||||
|
L3:0=0f0;1=000
|
@ -0,0 +1 @@
|
|||||||
|
L3:0=70e;1=3ff
|
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index0/id
vendored
Normal file
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index0/id
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
0
|
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index0/level
vendored
Normal file
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index0/level
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
3
|
@ -0,0 +1 @@
|
|||||||
|
0
|
@ -0,0 +1 @@
|
|||||||
|
001
|
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index0/size
vendored
Normal file
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index0/size
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
33M
|
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index0/type
vendored
Normal file
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index0/type
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
Unified
|
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index1/id
vendored
Normal file
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index1/id
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index1/level
vendored
Normal file
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index1/level
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
3
|
@ -0,0 +1 @@
|
|||||||
|
0
|
@ -0,0 +1 @@
|
|||||||
|
001
|
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index1/size
vendored
Normal file
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index1/size
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
33M
|
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index1/type
vendored
Normal file
1
tests/vircaps2xmldata/linux-resctrl-skx-twocaches/system/cpu/cpu0/cache/index1/type
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
Unified
|
@ -0,0 +1 @@
|
|||||||
|
1
|
@ -0,0 +1 @@
|
|||||||
|
0
|
@ -0,0 +1 @@
|
|||||||
|
001
|
@ -0,0 +1 @@
|
|||||||
|
0
|
@ -0,0 +1 @@
|
|||||||
|
0
|
@ -0,0 +1 @@
|
|||||||
|
001
|
@ -0,0 +1 @@
|
|||||||
|
0
|
@ -0,0 +1 @@
|
|||||||
|
0
|
@ -0,0 +1 @@
|
|||||||
|
0
|
@ -0,0 +1 @@
|
|||||||
|
../../cpu/cpu0
|
@ -0,0 +1 @@
|
|||||||
|
0
|
@ -0,0 +1 @@
|
|||||||
|
001
|
@ -0,0 +1 @@
|
|||||||
|
10
|
@ -0,0 +1 @@
|
|||||||
|
0
|
@ -0,0 +1,34 @@
|
|||||||
|
<capabilities>
|
||||||
|
|
||||||
|
<host>
|
||||||
|
<cpu>
|
||||||
|
<arch>x86_64</arch>
|
||||||
|
</cpu>
|
||||||
|
<power_management/>
|
||||||
|
<migration_features>
|
||||||
|
<live/>
|
||||||
|
</migration_features>
|
||||||
|
<topology>
|
||||||
|
<cells num='1'>
|
||||||
|
<cell id='0'>
|
||||||
|
<memory unit='KiB'>1048576</memory>
|
||||||
|
<pages unit='KiB' size='4'>2048</pages>
|
||||||
|
<pages unit='KiB' size='2048'>4096</pages>
|
||||||
|
<pages unit='KiB' size='1048576'>6144</pages>
|
||||||
|
<cpus num='1'>
|
||||||
|
<cpu id='0' socket_id='0' core_id='0' siblings='0'/>
|
||||||
|
</cpus>
|
||||||
|
</cell>
|
||||||
|
</cells>
|
||||||
|
</topology>
|
||||||
|
<cache>
|
||||||
|
<bank id='0' level='3' type='both' size='33' unit='MiB' cpus='0'>
|
||||||
|
<control granularity='3' unit='MiB' type='both' maxAllocs='16'/>
|
||||||
|
</bank>
|
||||||
|
<bank id='1' level='3' type='both' size='33' unit='MiB' cpus='0'>
|
||||||
|
<control granularity='3' unit='MiB' type='both' maxAllocs='16'/>
|
||||||
|
</bank>
|
||||||
|
</cache>
|
||||||
|
</host>
|
||||||
|
|
||||||
|
</capabilities>
|
@ -121,6 +121,7 @@ mymain(void)
|
|||||||
DO_TEST_FULL("resctrl", VIR_ARCH_X86_64, true, true, true);
|
DO_TEST_FULL("resctrl", VIR_ARCH_X86_64, true, true, true);
|
||||||
DO_TEST_FULL("resctrl-cdp", VIR_ARCH_X86_64, true, true, true);
|
DO_TEST_FULL("resctrl-cdp", VIR_ARCH_X86_64, true, true, true);
|
||||||
DO_TEST_FULL("resctrl-skx", VIR_ARCH_X86_64, true, true, true);
|
DO_TEST_FULL("resctrl-skx", VIR_ARCH_X86_64, true, true, true);
|
||||||
|
DO_TEST_FULL("resctrl-skx-twocaches", VIR_ARCH_X86_64, true, true, true);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user