diff options
| author | Eduardo Habkost | 2015-04-27 22:00:33 +0200 |
|---|---|---|
| committer | Andreas Färber | 2015-07-09 15:20:39 +0200 |
| commit | 291135b5da228e58900c120e12354cc0a23608e3 (patch) | |
| tree | 6eed41ee609dc3dbd3a1509f0a5eccaed39229cf /include/exec | |
| parent | cpu: Initialize breakpoint/watchpoint lists in cpu_common_initfn() (diff) | |
| download | qemu-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
