summary refs log tree commit diff stats
path: root/hw/hyperv/hyperv_testdev.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.caveayland@nutanix.com>2025-08-28 12:09:44 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2025-08-29 11:20:47 +0200
commite1e2909f8e74051a34a044940f90d4650b6e784a (patch)
treec7f8737079ed3693a6e9aaad875448ef04b6c19e /hw/hyperv/hyperv_testdev.c
parent59f504bb43366594e97cf496c9a9ccf59be00b73 (diff)
downloadfocaccia-qemu-e1e2909f8e74051a34a044940f90d4650b6e784a.tar.gz
focaccia-qemu-e1e2909f8e74051a34a044940f90d4650b6e784a.zip
hw/i386/pc_piix.c: restrict isapc machine to 32-bit CPUs
The isapc machine represents a legacy ISA PC with a 486 CPU. Whilst it is
possible to specify any CPU via -cpu on the command line, it makes no
sense to allow modern 64-bit CPUs to be used.

Restrict the isapc machine to the available 32-bit CPUs, taking care to
handle the case where if a user inadvertently uses either -cpu max or
-cpu host then the "best" 32-bit CPU is used (in this case the pentium3).

Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/r/20250828111057.468712-2-mark.caveayland@nutanix.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/hyperv/hyperv_testdev.c')
0 files changed, 0 insertions, 0 deletions