summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorEduardo Habkost2015-04-27 22:00:33 +0200
committerAndreas Färber2015-07-09 15:20:39 +0200
commit291135b5da228e58900c120e12354cc0a23608e3 (patch)
tree6eed41ee609dc3dbd3a1509f0a5eccaed39229cf /include/exec
parentcpu: Initialize breakpoint/watchpoint lists in cpu_common_initfn() (diff)
downloadqemu-291135b5da228e58900c120e12354cc0a23608e3.tar.gz
qemu-291135b5da228e58900c120e12354cc0a23608e3.tar.xz
qemu-291135b5da228e58900c120e12354cc0a23608e3.zip
cpu: Reorder cpu->as, cpu->thread_id, cpu->memory_dispatch init
Instead of initializing cpu->as, cpu->thread_id, and reloading memory map while holding cpu_list_lock(), do it earlier, before locking the CPU list and initializing cpu_index. This allows the code handling cpu_index and global CPU list to be isolated from the rest. Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions