vmm(4): prohibit setting/clearing invalid bits in %cr0/%cr4. This was
authormlarkin <mlarkin@openbsd.org>
Mon, 9 Jul 2018 22:07:14 +0000 (22:07 +0000)
committermlarkin <mlarkin@openbsd.org>
Mon, 9 Jul 2018 22:07:14 +0000 (22:07 +0000)
commitdb054f9279659e83ad633b48d025e460821fb37d
tree240edfbb83179c8fef3dd124e3b0734f4e6b78bb
parent25fe41fae02f5ea2d00c9aa371f7276e7bed6db1
vmm(4): prohibit setting/clearing invalid bits in %cr0/%cr4. This was
previously caught later but resulted in a guest termination, now we
use #GP as the SDM recommends.
sys/arch/amd64/amd64/vmm.c