VirtualBox

Changeset 57999 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Oct 2, 2015 9:56:57 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103026
Message:

VMM/GIM: Extra logging to help setup of Hyper-V debug interface.

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/GIMAllHv.cpp

    r57989 r57999  
    413413            if (pHv->fIsVendorMsHv)
    414414            {
     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));
    415419                *puValue = GIM_HV_DEBUG_OPTIONS_MSR_ENABLE;
    416420                return VINF_SUCCESS;
     421#endif
    417422            }
    418423            return VERR_CPUM_RAISE_GP_0;
     
    632637        {
    633638            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));
    634644                return VINF_SUCCESS;
     645#endif
     646            }
    635647            return VERR_CPUM_RAISE_GP_0;
    636648        }
  • trunk/src/VBox/VMM/VMMR3/GIMHv.cpp

    r57989 r57999  
    116116    if (!RTStrNCmp(szVendor, GIM_HV_VENDOR_MICROSOFT, sizeof(GIM_HV_VENDOR_MICROSOFT) - 1))
    117117        pHv->fIsVendorMsHv = true;
     118    LogRel(("GIM: HyperV: Reporting vendor ID as '%s'\n", szVendor));
    118119
    119120    /*
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette