Changeset 57999 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Oct 2, 2015 9:56:57 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 103026
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/GIMAllHv.cpp
r57989 r57999 413 413 if (pHv->fIsVendorMsHv) 414 414 { 415 #ifndef IN_RING_3 416 return VINF_CPUM_R3_MSR_READ; 417 #else 418 LogRelMax(1, ("GIM: HyperV: Guest querying debug options MSR, returning %#x\n", GIM_HV_DEBUG_OPTIONS_MSR_ENABLE)); 415 419 *puValue = GIM_HV_DEBUG_OPTIONS_MSR_ENABLE; 416 420 return VINF_SUCCESS; 421 #endif 417 422 } 418 423 return VERR_CPUM_RAISE_GP_0; … … 632 637 { 633 638 if (pHv->fIsVendorMsHv) 639 { 640 #ifndef IN_RING_3 641 return VINF_CPUM_R3_MSR_WRITE; 642 #else 643 LogRelMax(1, ("GIM: HyperV: Guest setting debug options MSR to %#RX64, ignoring\n", uRawValue)); 634 644 return VINF_SUCCESS; 645 #endif 646 } 635 647 return VERR_CPUM_RAISE_GP_0; 636 648 } -
trunk/src/VBox/VMM/VMMR3/GIMHv.cpp
r57989 r57999 116 116 if (!RTStrNCmp(szVendor, GIM_HV_VENDOR_MICROSOFT, sizeof(GIM_HV_VENDOR_MICROSOFT) - 1)) 117 117 pHv->fIsVendorMsHv = true; 118 LogRel(("GIM: HyperV: Reporting vendor ID as '%s'\n", szVendor)); 118 119 119 120 /*
Note:
See TracChangeset
for help on using the changeset viewer.