RFC v3: https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg01753.html
Changes since RFC v3: - This is now a proper patch series, since it should not (knowingly) break anything. - Rebase on top of rth's tcg-next (ffd8994b90f5), which includes patch 1 from RFC v3. - Make the feature optional, so that we don't need to change all TCG backends right now. For this, define TCG_TARGET_IMPLEMENTS_DYN_TLB, which follows a similar approach to what we do with TCG instructions with TCG_TARGET_HAS_foo. - Merge most changes into a single patch to ease review. Alex: as a result I dropped two of your R-b's, but note that the only change is the addition of inline helpers to hide whether the TCG backend implements the feature. The series is checkpatch-clean. You can fetch it from: https://github.com/cota/qemu/tree/tlb-dyn-v4 Thanks, Emilio