[PATCH qemu v2 0/2] Bugfix: TCG cross-page overflow for 32 bit guest

~percival_foss posted 2 patches 6 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/174595764300.3422.13156465553505851834-0@git.sr.ht
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>
accel/tcg/cputlb.c                    |  7 +++
tests/functional/meson.build          |  1 +
tests/functional/test_ppc_pegasos2.py | 69 +++++++++++++++++++++++++++
3 files changed, 77 insertions(+)
create mode 100755 tests/functional/test_ppc_pegasos2.py
[PATCH qemu v2 0/2] Bugfix: TCG cross-page overflow for 32 bit guest
Posted by ~percival_foss 6 months, 2 weeks ago
Since v1:
-Updated git commits to have proper signed off by tags/messages

Our company found and fixed a bug in TCG that caused 32 bit guests
running on 64 bit hosts to crash. If a 32 bit host has a page
translation that crosses beyond the last page. This causes a invalid
translation to be added to the translation table causing a crash.

Since this is our first patch we tried following the wiki guidelines and
broke the patch into a fix and test. More info about each is given in
their respective commits. Any feedback is appreciated!

Signed off by: Percival Engineering <foss@percivaleng.com>

Percival Foss (2):
  accel/tcg: Fixed cross-page overflow for 32 bit guest
  tests/functional: Added cross page overflow test

 accel/tcg/cputlb.c                    |  7 +++
 tests/functional/meson.build          |  1 +
 tests/functional/test_ppc_pegasos2.py | 69 +++++++++++++++++++++++++++
 3 files changed, 77 insertions(+)
 create mode 100755 tests/functional/test_ppc_pegasos2.py

-- 
2.45.3