summary refs log tree commit diff stats
path: root/results/classifier/deepseek-2/output/hypervisor/1078892
blob: 31d1a57f8799bb7a538dcaea0d86ef7f7cada47a (plain) (blame)
1
2
3
4
5
6
qemu doesn't general protection fault if there are reserved bits set in page-directory-pointer table entries

While working on implementing 32-bit PAE mode in a custom operating system, which I was testing in QEMU, I noticed that my OS worked correctly, but resulted in a general protection fault when booted on VMware, VirtualBox, or bochs.

According to the Intel Architecture Manual, Volume 3A, Section 4.4.1 "PDPTE Registers", "If any of the PDPTEs sets both the P flag (bit 0) and any reserved bit, the MOV to CR instruction causes a general-protection exception (#GP(0)) and the PDPTEs are not loaded." QEMU does not emulate this behavior.