diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2015-01-15 12:46:47 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-02-16 17:30:19 +0100 |
| commit | 76e5c76f2e2e0d20bab2cd5c7a87452f711654fb (patch) | |
| tree | f312a288fac7f37635618aacbc4303c81e5116fd /exec.c | |
| parent | 8b5c216025c312ab01542c4595393e0fdcbed015 (diff) | |
| download | focaccia-qemu-76e5c76f2e2e0d20bab2cd5c7a87452f711654fb.tar.gz focaccia-qemu-76e5c76f2e2e0d20bab2cd5c7a87452f711654fb.zip | |
exec: introduce cpu_reload_memory_map
This for now is a simple TLB flush. This can change later for two reasons: 1) an AddressSpaceDispatch will be cached in the CPUState object 2) it will not be possible to do tlb_flush once the TCG-generated code runs outside the BQL. Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'exec.c')
| -rw-r--r-- | exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c index 6dff7bc43a..2bfb4d361f 100644 --- a/exec.c +++ b/exec.c @@ -2026,7 +2026,7 @@ static void tcg_commit(MemoryListener *listener) if (cpu->tcg_as_listener != listener) { continue; } - tlb_flush(cpu, 1); + cpu_reload_memory_map(cpu); } } |