[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] c88c67: cpu-exec: Fix direct jump to TB spann
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] c88c67: cpu-exec: Fix direct jump to TB spanning page |
Date: |
Thu, 26 May 2016 06:00:08 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: c88c67e58b61618a904d2333ceebefc3c852d32e
https://github.com/qemu/qemu/commit/c88c67e58b61618a904d2333ceebefc3c852d32e
Author: Sergey Fedorov <address@hidden>
Date: 2016-05-26 (Thu, 26 May 2016)
Changed paths:
M cpu-exec.c
Log Message:
-----------
cpu-exec: Fix direct jump to TB spanning page
It is not safe to make a direct jump to a TB spanning two pages in
system emulation because the mapping for the second page can get changed
but we don't take care of direct jumps in this case.
However in user mode emulation, this is not the case because there's
only static address translation and TBs are always invalidated properly.
Fixes: 5b053a4a2827 ("tcg: Clean up direct block chaining safety checks")
Reported-by: Max Filippov <address@hidden>
Signed-off-by: Sergey Fedorov <address@hidden>
Signed-off-by: Sergey Fedorov <address@hidden>
Tested-by: Max Filippov <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] c88c67: cpu-exec: Fix direct jump to TB spanning page,
GitHub <=