mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 12:51:12 +00:00
cb7abb0703
Since aarch64 doesn't support CPU hotplug at the moment, we have to get a bit creative. While the 'query-cpus-fast' output is taken directly from a VM configured as <vcpu current='7'>16</vcpu> <cpu mode='host-passthrough'> <topology sockets='2' dies='1' clusters='2' cores='2' threads='2'/> </cpu> the 'query-hotpluggable-cpus' output is constructed by hand starting from the former and using the 'x86-dies' test data as a model. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
89 lines
1.8 KiB
JSON
89 lines
1.8 KiB
JSON
{
|
|
"return": [
|
|
{
|
|
"thread-id": 284700,
|
|
"props": {
|
|
"core-id": 0,
|
|
"thread-id": 0,
|
|
"socket-id": 0,
|
|
"cluster-id": 0
|
|
},
|
|
"qom-path": "/machine/unattached/device[0]",
|
|
"cpu-index": 0,
|
|
"target": "aarch64"
|
|
},
|
|
{
|
|
"thread-id": 284701,
|
|
"props": {
|
|
"core-id": 0,
|
|
"thread-id": 1,
|
|
"socket-id": 0,
|
|
"cluster-id": 0
|
|
},
|
|
"qom-path": "/machine/unattached/device[1]",
|
|
"cpu-index": 1,
|
|
"target": "aarch64"
|
|
},
|
|
{
|
|
"thread-id": 284702,
|
|
"props": {
|
|
"core-id": 1,
|
|
"thread-id": 0,
|
|
"socket-id": 0,
|
|
"cluster-id": 0
|
|
},
|
|
"qom-path": "/machine/unattached/device[2]",
|
|
"cpu-index": 2,
|
|
"target": "aarch64"
|
|
},
|
|
{
|
|
"thread-id": 284703,
|
|
"props": {
|
|
"core-id": 1,
|
|
"thread-id": 1,
|
|
"socket-id": 0,
|
|
"cluster-id": 0
|
|
},
|
|
"qom-path": "/machine/unattached/device[3]",
|
|
"cpu-index": 3,
|
|
"target": "aarch64"
|
|
},
|
|
{
|
|
"thread-id": 284704,
|
|
"props": {
|
|
"core-id": 0,
|
|
"thread-id": 0,
|
|
"socket-id": 0,
|
|
"cluster-id": 1
|
|
},
|
|
"qom-path": "/machine/unattached/device[4]",
|
|
"cpu-index": 4,
|
|
"target": "aarch64"
|
|
},
|
|
{
|
|
"thread-id": 284705,
|
|
"props": {
|
|
"core-id": 0,
|
|
"thread-id": 1,
|
|
"socket-id": 0,
|
|
"cluster-id": 1
|
|
},
|
|
"qom-path": "/machine/unattached/device[5]",
|
|
"cpu-index": 5,
|
|
"target": "aarch64"
|
|
},
|
|
{
|
|
"thread-id": 284706,
|
|
"props": {
|
|
"core-id": 1,
|
|
"thread-id": 0,
|
|
"socket-id": 0,
|
|
"cluster-id": 1
|
|
},
|
|
"qom-path": "/machine/unattached/device[6]",
|
|
"cpu-index": 6,
|
|
"target": "aarch64"
|
|
}
|
|
]
|
|
}
|