jhb b13c842313 Reload the LDT selector after an AMD-v #VMEXIT.
cpu_switch() always reloads the LDT, so this can only affect the
hypervisor process itself.  Fix this by explicitly reloading the host
LDT selector after each #VMEXIT.  The stock bhyve process on FreeBSD
never uses a custom LDT, so this change is cosmetic.

Reviewed by:	kib
Tested by:	Mike Tancsa <mike@sentex.net>
Approved by:	re (gjb)
MFC after:	2 weeks
2018-10-15 18:12:25 +00:00
..
2018-09-13 21:00:17 +00:00
2018-10-14 16:14:01 +00:00
2018-10-09 18:40:36 +00:00
2018-08-24 15:00:36 +00:00
2018-10-09 14:27:55 +00:00
2018-10-05 17:53:47 +00:00
2018-08-23 13:21:01 +00:00
2018-10-15 10:29:29 +00:00
2018-10-09 14:27:55 +00:00
2018-07-15 00:31:17 +00:00
2018-09-22 17:05:49 +00:00