diff options
| author | Paolo Bonzini | 2021-02-26 16:24:35 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2021-05-11 10:11:14 +0200 |
| commit | 31dd35eb2d4484b70e4462a9e4a370695cc8ce8d (patch) | |
| tree | 4c7222c16590f5186d3089646059a3971937555f /scripts/kernel-doc | |
| parent | target/i386: pass cr3 to mmu_translate (diff) | |
| download | qemu-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/kernel-doc')
0 files changed, 0 insertions, 0 deletions
