Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Paste
P132
Masterwork From Distant Lands
Active
Public
Actions
Authored by
mjoras
on Aug 23 2017, 12:15 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F1735863: Masterwork From Distant Lands
Aug 23 2017, 12:15 AM
2017-08-23 00:15:25 (UTC+0)
Subscribers
None
diff --git a/sys/amd64/vmm/amd/svm_msr.c b/sys/amd64/vmm/amd/svm_msr.c
index 49208a351c2..48b602a0bfc 100644
--- a/sys/amd64/vmm/amd/svm_msr.c
+++ b/sys/amd64/vmm/amd/svm_msr.c
@@ -28,10 +28,13 @@
__FBSDID("$FreeBSD$");
#include <sys/param.h>
+#include <sys/pcpu.h>
+#include <sys/proc.h>
#include <sys/errno.h>
#include <sys/systm.h>
#include <machine/cpufunc.h>
+#include <machine/pcb.h>
#include <machine/specialreg.h>
#include <machine/vmm.h>
@@ -87,6 +90,7 @@ svm_msr_guest_enter(struct svm_softc *sc, int vcpu)
/*
* Save host MSRs (if any) and restore guest MSRs (if any).
*/
+ update_pcb_bases(curthread->td_pcb);
}
void
Event Timeline
mjoras
edited the content of this paste.
(Show Details)
Aug 23 2017, 12:15 AM
2017-08-23 00:15:25 (UTC+0)
mjoras
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
mjoras
updated the paste's language from
autodetect
to
autodetect
.
Log In to Comment