Allow the TSC MSR to be accessed directly from the guest.

This commit is contained in:
Peter Grehan 2014-06-07 23:08:06 +00:00
parent dc6610d553
commit 1cc0e0eedb

View File

@ -447,6 +447,8 @@ svm_vminit(struct vm *vm, pmap_t pmap)
/* For Nested Paging/RVI only. */
svm_msr_rw_ok(svm_sc->msr_bitmap, MSR_PAT);
svm_msr_rd_ok(svm_sc->msr_bitmap, MSR_TSC);
/* Intercept access to all I/O ports. */
memset(svm_sc->iopm_bitmap, 0xFF, sizeof(svm_sc->iopm_bitmap));