Intel vmm restores just the base of the GDTR and IDTR ith fixed,
authorguenther <guenther@openbsd.org>
Thu, 29 Feb 2024 16:10:52 +0000 (16:10 +0000)
committerguenther <guenther@openbsd.org>
Thu, 29 Feb 2024 16:10:52 +0000 (16:10 +0000)
commitd28c6fef18b4e9c1f2db9a660b4ada06707996c1
tree7c0279bd9c3c6496bc9a1ff1fb01e072e5640930
parent231fd9430b4ca9961c792de081612b176bdb27f1
Intel vmm restores just the base of the GDTR and IDTR ith fixed,
high limits, beyond what we actually expect.  We already restored
the IDTR from scratch, but the restore of the GDTR (limit) was
removed in r1.10.  Put that back in a simpler way, simplify the
IDTR restore and delete the save/restore of the LDTR because that
one really is handled as we want by vmm.

ok dv@ mlarkin@
sys/arch/amd64/amd64/vmm_machdep.c