summary refs log tree commit diff stats
path: root/scripts/qapi.py
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-07-10 18:30:38 +0200
committerRiku Voipio <riku.voipio@linaro.org>2013-07-22 22:08:33 +0300
commit885a73f72b967900296d71c97cc7c560585a9086 (patch)
treecf60b4eab5ce6db99a6d1086cd1ea831bd7fbc01 /scripts/qapi.py
parent24cb36a61c663d98a53338620e88e4cd3403459a (diff)
downloadfocaccia-qemu-885a73f72b967900296d71c97cc7c560585a9086.tar.gz
focaccia-qemu-885a73f72b967900296d71c97cc7c560585a9086.zip
linux-user: Avoid conditional cpu_reset()
Some CPUs reset as part of cpu_init(), some others were reset
afterwards, some not at all. While some targets didn't implement a
cpu_[state_]reset() function, QOM cpu_reset() is always available.
There's nothing wrong with resetting twice on startup, so drop
the #ifdef.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions