summaryrefslogtreecommitdiffstats
path: root/lib/libvmmapi/vmmapi.c
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2012-08-04 02:06:55 +0000
committerneel <neel@FreeBSD.org>2012-08-04 02:06:55 +0000
commitd40b98f60b39af7a76f82076ee5e53f389dc3cba (patch)
tree3da5056fa03213597ef70b339b09f5046dd288c6 /lib/libvmmapi/vmmapi.c
parent34ecb49705e4b6d23100af4ad97c0ea3f640f517 (diff)
downloadFreeBSD-src-d40b98f60b39af7a76f82076ee5e53f389dc3cba.zip
FreeBSD-src-d40b98f60b39af7a76f82076ee5e53f389dc3cba.tar.gz
Force certain bits in %cr4 to be hard-wired to '1' or '0' from a guest's
perspective. If we don't do this some guest OSes (e.g. Linux) will reset the CR4_VMXE bit in %cr4 with disastrous consequences. Reported by: grehan
Diffstat (limited to 'lib/libvmmapi/vmmapi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud