summary refs log tree commit diff stats
path: root/scripts/qapi/main.py
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@amd.com>2024-08-08 13:30:12 +0200
committerEdgar E. Iglesias <edgar.iglesias@amd.com>2024-09-04 16:50:42 +0200
commitb421a0dce68263f93fca961a742873003af7c681 (patch)
tree6ac83c58dfb263e475609db21d02b43b7fbb7da4 /scripts/qapi/main.py
parent4850c6cc56201552e6162eb24ebd91c6dffeb19c (diff)
downloadfocaccia-qemu-b421a0dce68263f93fca961a742873003af7c681.tar.gz
focaccia-qemu-b421a0dce68263f93fca961a742873003af7c681.zip
hw/arm: xenpvh: Add support for SMP guests
Add SMP support for Xen PVH ARM guests.
Create ms->smp.max_cpus ioreq servers to handle hotplug.

Note that ms->smp.max_cpus will be passed to us by the
user (Xen tools) set to the guests maxvcpus.

The value in mc->max_cpus is an absolute maximum for the
-smp option and won't be used to setup ioreq servers unless
the user explicitly specifies it with -smp.

If the user doesn't pass -smp on the command-line, smp.cpus
and smp.max_cpus will default to 1.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'scripts/qapi/main.py')
0 files changed, 0 insertions, 0 deletions