diff options
author | Andreas Färber <afaerber@suse.de> | 2012-12-17 19:39:30 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-01-15 04:09:14 +0100 |
commit | 4a1e40b5091bcff5f8ea3fe9963eaa8e76b16389 (patch) | |
tree | 178da393620e19079a716c8fdfb81b14584dc4a1 /net/tap-haiku.c | |
parent | 504134d27f15aa94f6d2b5c45eaa804a8dfb5a4c (diff) |
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>
Diffstat (limited to 'net/tap-haiku.c')
0 files changed, 0 insertions, 0 deletions