summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/types.py
diff options
context:
space:
mode:
authorPaolo Bonzini2021-02-26 16:24:35 +0100
committerPaolo Bonzini2021-05-11 10:11:14 +0200
commit31dd35eb2d4484b70e4462a9e4a370695cc8ce8d (patch)
tree4c7222c16590f5186d3089646059a3971937555f /scripts/qapi/types.py
parenttarget/i386: pass cr3 to mmu_translate (diff)
downloadqemu-31dd35eb2d4484b70e4462a9e4a370695cc8ce8d.tar.gz
qemu-31dd35eb2d4484b70e4462a9e4a370695cc8ce8d.tar.xz
qemu-31dd35eb2d4484b70e4462a9e4a370695cc8ce8d.zip
target/i386: extend pg_mode to more CR0 and CR4 bits
In order to unify the two stages of page table lookup, we need mmu_translate to use either the host CR0/EFER/CR4 or the guest's. To do so, make mmu_translate use the same pg_mode constants that were used for the NPT lookup. This also prepares for adding 5-level NPT support, which however does not work yet. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/types.py')
0 files changed, 0 insertions, 0 deletions