Peter Crosthwaite bdd459a00a cpus: Don't kick un-realized cpus.
following a464982499, it's now possible for
there to be attempts to take the BQL before CPUs have been realized in
cases where a machine model inits peripherals before the first CPU.

BQL lock aquisition kicks the first_cpu, leading to a segfault if this
happens pre-realize. Guard the CPU kick routine to perform no action for
a CPU that doesn't exist or doesn't have a thread yet.

There was a fix to this with commit
6b49809c59, but the check there misses
the case where the CPU has been inited and not realized. Strengthen the
check to make sure that the first_cpu has a thread (i.e. it is
realized) before allowing the kick.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-Id: <1427107689-6946-1-git-send-email-peter.crosthwaite@xilinx.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-03-25 13:38:07 +01:00
2015-03-04 13:00:36 -05:00
2015-02-06 16:11:38 +00:00
2015-03-19 11:30:37 +03:00
2015-03-25 13:38:05 +01:00
2015-03-19 11:39:18 +03:00
2015-03-19 11:11:55 +03:00
2015-02-23 10:56:09 -05:00
2015-03-16 12:10:30 -04:00
2015-03-19 11:17:27 +03:00
2015-03-25 13:38:07 +01:00
2015-02-16 17:30:19 +01:00
2015-03-19 11:35:52 +03:00
2015-03-17 14:31:15 +01:00
2015-02-05 17:16:14 +01:00
2015-02-16 15:07:19 +00:00
2015-03-10 11:33:35 +01:00
2015-01-14 10:38:57 +01:00
2015-02-12 21:21:38 -08:00
2015-03-10 09:26:22 +01:00
2015-03-17 18:58:33 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 434 MiB
Languages
C 83.1%
C++ 6.1%
Python 3.4%
Dylan 2.7%
Shell 1.5%
Other 3%