]> git.proxmox.com Git - qemu.git/commit
xen: Simplify halting of first CPU
authorAndreas Färber <afaerber@suse.de>
Mon, 17 Dec 2012 18:39:30 +0000 (19:39 +0100)
committerAndreas Färber <afaerber@suse.de>
Tue, 15 Jan 2013 03:09:14 +0000 (04:09 +0100)
commit4a1e40b5091bcff5f8ea3fe9963eaa8e76b16389
tree178da393620e19079a716c8fdfb81b14584dc4a1
parent504134d27f15aa94f6d2b5c45eaa804a8dfb5a4c
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>
xen-all.c