libvirt/tests/qemumonitorjsondata/qemumonitorjson-cpuinfo-x86-dies-hotplug.json
Daniel P. Berrangé c34b8cbf1c tests: validate parsing of CPUs with dies > 1
Add sample data files for validating handling of a QEMU guest started
with:

  -smp 7,maxcpus=16,sockets=2,dies=2,cores=2,threads=2

Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2020-03-16 16:00:27 +00:00

172 lines
4.3 KiB
JSON

{
"return": [
{
"props": {
"core-id": 1,
"thread-id": 1,
"die-id": 1,
"socket-id": 1
},
"vcpus-count": 1,
"type": "host-x86_64-cpu"
},
{
"props": {
"core-id": 1,
"thread-id": 0,
"die-id": 1,
"socket-id": 1
},
"vcpus-count": 1,
"type": "host-x86_64-cpu"
},
{
"props": {
"core-id": 0,
"thread-id": 1,
"die-id": 1,
"socket-id": 1
},
"vcpus-count": 1,
"type": "host-x86_64-cpu"
},
{
"props": {
"core-id": 0,
"thread-id": 0,
"die-id": 1,
"socket-id": 1
},
"vcpus-count": 1,
"type": "host-x86_64-cpu"
},
{
"props": {
"core-id": 1,
"thread-id": 1,
"die-id": 0,
"socket-id": 1
},
"vcpus-count": 1,
"type": "host-x86_64-cpu"
},
{
"props": {
"core-id": 1,
"thread-id": 0,
"die-id": 0,
"socket-id": 1
},
"vcpus-count": 1,
"type": "host-x86_64-cpu"
},
{
"props": {
"core-id": 0,
"thread-id": 1,
"die-id": 0,
"socket-id": 1
},
"vcpus-count": 1,
"type": "host-x86_64-cpu"
},
{
"props": {
"core-id": 0,
"thread-id": 0,
"die-id": 0,
"socket-id": 1
},
"vcpus-count": 1,
"type": "host-x86_64-cpu"
},
{
"props": {
"core-id": 1,
"thread-id": 1,
"die-id": 1,
"socket-id": 0
},
"vcpus-count": 1,
"type": "host-x86_64-cpu"
},
{
"props": {
"core-id": 1,
"thread-id": 0,
"die-id": 1,
"socket-id": 0
},
"vcpus-count": 1,
"qom-path": "/machine/unattached/device[7]",
"type": "host-x86_64-cpu"
},
{
"props": {
"core-id": 0,
"thread-id": 1,
"die-id": 1,
"socket-id": 0
},
"vcpus-count": 1,
"qom-path": "/machine/unattached/device[6]",
"type": "host-x86_64-cpu"
},
{
"props": {
"core-id": 0,
"thread-id": 0,
"die-id": 1,
"socket-id": 0
},
"vcpus-count": 1,
"qom-path": "/machine/unattached/device[5]",
"type": "host-x86_64-cpu"
},
{
"props": {
"core-id": 1,
"thread-id": 1,
"die-id": 0,
"socket-id": 0
},
"vcpus-count": 1,
"qom-path": "/machine/unattached/device[4]",
"type": "host-x86_64-cpu"
},
{
"props": {
"core-id": 1,
"thread-id": 0,
"die-id": 0,
"socket-id": 0
},
"vcpus-count": 1,
"qom-path": "/machine/unattached/device[3]",
"type": "host-x86_64-cpu"
},
{
"props": {
"core-id": 0,
"thread-id": 1,
"die-id": 0,
"socket-id": 0
},
"vcpus-count": 1,
"qom-path": "/machine/unattached/device[2]",
"type": "host-x86_64-cpu"
},
{
"props": {
"core-id": 0,
"thread-id": 0,
"die-id": 0,
"socket-id": 0
},
"vcpus-count": 1,
"qom-path": "/machine/unattached/device[0]",
"type": "host-x86_64-cpu"
}
]
}