aboutsummaryrefslogtreecommitdiff
path: root/qtest.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2017-09-13 15:24:11 +0200
committerCornelia Huck <cohuck@redhat.com>2017-09-19 18:31:32 +0200
commit0347ab84698e668a8da5ce05c3ad4e1d6e553456 (patch)
tree78902cd4009738b18256e2637f53af22cf5a900f /qtest.c
parent99aa6bf29b87052d9603c5bf5c23d0db960f30ce (diff)
downloadqemu-0347ab84698e668a8da5ce05c3ad4e1d6e553456.zip
qemu-0347ab84698e668a8da5ce05c3ad4e1d6e553456.tar.gz
qemu-0347ab84698e668a8da5ce05c3ad4e1d6e553456.tar.bz2
s390x: allow cpu hotplug via device_add
E.g. the following now works: device_add host-s390-cpu,id=cpu1,core-id=1 The system will perform the same checks as when using cpu_add: - If the core_id is already in use - If the next sequential core_id isn't used - If core-id >= max_cpu is specified In addition, mixed CPU models are checked. E.g. if starting with -cpu host and trying to hotplug "qemu-s390-cpu": "Mixed CPU models are not supported on s390x." Reviewed-by: Matthew Rosato <mjrosato@linux.vnet.ibm.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20170913132417.24384-17-david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'qtest.c')
0 files changed, 0 insertions, 0 deletions