mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
qemumonitorjsontest: Add getcpu test data
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
c57c2bb53a
commit
7b7cc3aaec
@ -0,0 +1,7 @@
|
|||||||
|
<cpudata arch='x86'>
|
||||||
|
<cpuid eax_in='0x00000001' eax='0x00000000' ebx='0x00000000' ecx='0xf7fa3203' edx='0x0f8bfbff'/>
|
||||||
|
<cpuid eax_in='0x00000007' eax='0x00000000' ebx='0x001c0fbb' ecx='0x00000000' edx='0x00000000'/>
|
||||||
|
<cpuid eax_in='0x0000000d' eax='0x00000001' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||||
|
<cpuid eax_in='0x40000001' eax='0x010000fb' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||||
|
<cpuid eax_in='0x80000001' eax='0x00000000' ebx='0x00000000' ecx='0x00000121' edx='0x2c100800'/>
|
||||||
|
</cpudata>
|
57
tests/qemumonitorjsondata/qemumonitorjson-getcpu-ecx.json
Normal file
57
tests/qemumonitorjsondata/qemumonitorjson-getcpu-ecx.json
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
{
|
||||||
|
"return": [
|
||||||
|
{
|
||||||
|
"cpuid-register": "EAX",
|
||||||
|
"cpuid-input-ecx": 1,
|
||||||
|
"cpuid-input-eax": 13,
|
||||||
|
"features": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cpuid-register": "EDX",
|
||||||
|
"cpuid-input-eax": 2147483658,
|
||||||
|
"features": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cpuid-register": "EAX",
|
||||||
|
"cpuid-input-eax": 1073741825,
|
||||||
|
"features": 16777467
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cpuid-register": "EDX",
|
||||||
|
"cpuid-input-eax": 3221225473,
|
||||||
|
"features": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cpuid-register": "EDX",
|
||||||
|
"cpuid-input-eax": 2147483655,
|
||||||
|
"features": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cpuid-register": "ECX",
|
||||||
|
"cpuid-input-eax": 2147483649,
|
||||||
|
"features": 289
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cpuid-register": "EDX",
|
||||||
|
"cpuid-input-eax": 2147483649,
|
||||||
|
"features": 739248128
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cpuid-register": "EBX",
|
||||||
|
"cpuid-input-ecx": 0,
|
||||||
|
"cpuid-input-eax": 7,
|
||||||
|
"features": 1839035
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cpuid-register": "ECX",
|
||||||
|
"cpuid-input-eax": 1,
|
||||||
|
"features": 4160369155
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cpuid-register": "EDX",
|
||||||
|
"cpuid-input-eax": 1,
|
||||||
|
"features": 260832255
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"id": "feature-words"
|
||||||
|
}
|
@ -2431,6 +2431,7 @@ mymain(void)
|
|||||||
|
|
||||||
DO_TEST_CPU_DATA("host");
|
DO_TEST_CPU_DATA("host");
|
||||||
DO_TEST_CPU_DATA("full");
|
DO_TEST_CPU_DATA("full");
|
||||||
|
DO_TEST_CPU_DATA("ecx");
|
||||||
|
|
||||||
qemuTestDriverFree(&driver);
|
qemuTestDriverFree(&driver);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user