]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - sys/amd64/vmm/intel/vmx.c
Support guest rdtscp and rdpid instructions on Intel VT-x
authorPeter Grehan <grehan@FreeBSD.org>
Tue, 18 Aug 2020 07:23:47 +0000 (07:23 +0000)
committerPeter Grehan <grehan@FreeBSD.org>
Tue, 18 Aug 2020 07:23:47 +0000 (07:23 +0000)
commitf5f5f1e7d6de64f0245d913840f28306334241de
tree2d7c66ee6ca21883d31bd99dd240afdc68504d66
parent46567b4f5e58f50f366ecd33c007734f49c82a18
Support guest rdtscp and rdpid instructions on Intel VT-x

Enable any of rdtscp and/or rdpid for bhyve guests on Intel-based hosts
that support the "enable RDTSCP" VM-execution control.

Submitted by: adam_fenn.io
Reported by: chuck
Reviewed by: chuck, grehan, jhb
Approved by: jhb (bhyve), grehan
MFC after: 3 weeks
Relnotes: Yes
Differential Revision: https://reviews.freebsd.org/D26003
sys/amd64/include/vmm.h
sys/amd64/vmm/intel/vmx.c
sys/amd64/vmm/intel/vmx.h
sys/amd64/vmm/intel/vmx_msr.c
sys/amd64/vmm/intel/vmx_msr.h
sys/amd64/vmm/x86.c