mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
xen: Simplify halting of first CPU
Use the global first_cpu variable to halt the CPU rather than using a local first_cpu initialized from qemu_get_cpu(0). This will allow to change qemu_get_cpu() return type to CPUState despite use of the CPU_COMMON halted field in the reset handler. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
Reference in New Issue
Block a user