mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +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>
172 lines
3.3 KiB
JSON
172 lines
3.3 KiB
JSON
{
|
|
"return": [
|
|
{
|
|
"props": {
|
|
"core-id": 1,
|
|
"thread-id": 1,
|
|
"socket-id": 1,
|
|
"cluster-id": 1
|
|
},
|
|
"vcpus-count": 1,
|
|
"type": "host-arm-cpu"
|
|
},
|
|
{
|
|
"props": {
|
|
"core-id": 1,
|
|
"thread-id": 0,
|
|
"socket-id": 1,
|
|
"cluster-id": 1
|
|
},
|
|
"vcpus-count": 1,
|
|
"type": "host-arm-cpu"
|
|
},
|
|
{
|
|
"props": {
|
|
"core-id": 0,
|
|
"thread-id": 1,
|
|
"socket-id": 1,
|
|
"cluster-id": 1
|
|
},
|
|
"vcpus-count": 1,
|
|
"type": "host-arm-cpu"
|
|
},
|
|
{
|
|
"props": {
|
|
"core-id": 0,
|
|
"thread-id": 0,
|
|
"socket-id": 1,
|
|
"cluster-id": 1
|
|
},
|
|
"vcpus-count": 1,
|
|
"type": "host-arm-cpu"
|
|
},
|
|
{
|
|
"props": {
|
|
"core-id": 1,
|
|
"thread-id": 1,
|
|
"socket-id": 1,
|
|
"cluster-id": 0
|
|
},
|
|
"vcpus-count": 1,
|
|
"type": "host-arm-cpu"
|
|
},
|
|
{
|
|
"props": {
|
|
"core-id": 1,
|
|
"thread-id": 0,
|
|
"socket-id": 1,
|
|
"cluster-id": 0
|
|
},
|
|
"vcpus-count": 1,
|
|
"type": "host-arm-cpu"
|
|
},
|
|
{
|
|
"props": {
|
|
"core-id": 0,
|
|
"thread-id": 1,
|
|
"socket-id": 1,
|
|
"cluster-id": 0
|
|
},
|
|
"vcpus-count": 1,
|
|
"type": "host-arm-cpu"
|
|
},
|
|
{
|
|
"props": {
|
|
"core-id": 0,
|
|
"thread-id": 0,
|
|
"socket-id": 1,
|
|
"cluster-id": 0
|
|
},
|
|
"vcpus-count": 1,
|
|
"type": "host-arm-cpu"
|
|
},
|
|
{
|
|
"props": {
|
|
"core-id": 1,
|
|
"thread-id": 1,
|
|
"socket-id": 0,
|
|
"cluster-id": 1
|
|
},
|
|
"vcpus-count": 1,
|
|
"type": "host-arm-cpu"
|
|
},
|
|
{
|
|
"props": {
|
|
"core-id": 1,
|
|
"thread-id": 0,
|
|
"socket-id": 0,
|
|
"cluster-id": 1
|
|
},
|
|
"vcpus-count": 1,
|
|
"qom-path": "/machine/unattached/device[6]",
|
|
"type": "host-arm-cpu"
|
|
},
|
|
{
|
|
"props": {
|
|
"core-id": 0,
|
|
"thread-id": 1,
|
|
"socket-id": 0,
|
|
"cluster-id": 1
|
|
},
|
|
"vcpus-count": 1,
|
|
"qom-path": "/machine/unattached/device[5]",
|
|
"type": "host-arm-cpu"
|
|
},
|
|
{
|
|
"props": {
|
|
"core-id": 0,
|
|
"thread-id": 0,
|
|
"socket-id": 0,
|
|
"cluster-id": 1
|
|
},
|
|
"vcpus-count": 1,
|
|
"qom-path": "/machine/unattached/device[4]",
|
|
"type": "host-arm-cpu"
|
|
},
|
|
{
|
|
"props": {
|
|
"core-id": 1,
|
|
"thread-id": 1,
|
|
"socket-id": 0,
|
|
"cluster-id": 0
|
|
},
|
|
"vcpus-count": 1,
|
|
"qom-path": "/machine/unattached/device[3]",
|
|
"type": "host-arm-cpu"
|
|
},
|
|
{
|
|
"props": {
|
|
"core-id": 1,
|
|
"thread-id": 0,
|
|
"socket-id": 0,
|
|
"cluster-id": 0
|
|
},
|
|
"vcpus-count": 1,
|
|
"qom-path": "/machine/unattached/device[2]",
|
|
"type": "host-arm-cpu"
|
|
},
|
|
{
|
|
"props": {
|
|
"core-id": 0,
|
|
"thread-id": 1,
|
|
"socket-id": 0,
|
|
"cluster-id": 0
|
|
},
|
|
"vcpus-count": 1,
|
|
"qom-path": "/machine/unattached/device[1]",
|
|
"type": "host-arm-cpu"
|
|
},
|
|
{
|
|
"props": {
|
|
"core-id": 0,
|
|
"thread-id": 0,
|
|
"socket-id": 0,
|
|
"cluster-id": 0
|
|
},
|
|
"vcpus-count": 1,
|
|
"qom-path": "/machine/unattached/device[0]",
|
|
"type": "host-arm-cpu"
|
|
}
|
|
]
|
|
}
|