mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
6b8d0f9b18
Nonpae guest pdes are shadowed by two pae ptes, so we double the offset twice: once to account for the pte size difference, and once because we need to shadow pdes for a single guest pde. But when writing to the upper guest pde we also need to truncate the lower bits, otherwise the multiply shifts these bits into the pde index and causes an access to the wrong shadow pde. If we're at the end of the page (accessing the very last guest pde) we can even overflow into the next host page and oops. Signed-off-by: Avi Kivity <avi@qumranet.com> |
||
---|---|---|
.. | ||
Kconfig | ||
kvm.h | ||
kvm_main.c | ||
kvm_svm.h | ||
kvm_vmx.h | ||
Makefile | ||
mmu.c | ||
paging_tmpl.h | ||
segment_descriptor.h | ||
svm.c | ||
svm.h | ||
vmx.c | ||
vmx.h | ||
x86_emulate.c | ||
x86_emulate.h |