diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-26 10:24:35 -0500 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-05-11 04:11:14 -0400 |
| commit | 31dd35eb2d4484b70e4462a9e4a370695cc8ce8d (patch) | |
| tree | 4c7222c16590f5186d3089646059a3971937555f /util/main-loop.c | |
| parent | cd906d315d629da010e0ac6f84949c04d2ab7a08 (diff) | |
| download | focaccia-qemu-31dd35eb2d4484b70e4462a9e4a370695cc8ce8d.tar.gz focaccia-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 'util/main-loop.c')
0 files changed, 0 insertions, 0 deletions