]> www.infradead.org Git - users/dwmw2/qemu.git/commit
virt: set the CPU type in BOOTINFO
authorLaurent Vivier <laurent@vivier.eu>
Fri, 23 Feb 2024 15:57:42 +0000 (16:57 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 11 Mar 2024 08:38:08 +0000 (09:38 +0100)
commite39a0809b99bbbe5f0ec432fdd9e8c943ba24936
tree3fcbcc502db51460084482dd8624ce238150119c
parent7489f7f3f81dcb776df8c1b9a9db281fc21bf05f
virt: set the CPU type in BOOTINFO

BI_CPUTYPE/BI_MMUTYPE/BI_FPUTYPE were statically assigned to the
68040 information.
This patch changes the code to set in bootinfo the information
provided by the command line '-cpu' parameter.

Bug: https://gitlab.com/qemu-project/qemu/-/issues/2091
Reported-by: Daniel Palmer <daniel@0x0f.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-ID: <20240223155742.2790252-1-laurent@vivier.eu>
hw/m68k/virt.c