VirtualBox

Changeset 62424 in vbox


Ignore:
Timestamp:
Jul 22, 2016 11:16:11 AM (8 years ago)
Author:
vboxsync
Message:

GIMAllHv.cpp: MSC level 4 warnings.

File:
1 edited

Legend:

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

    r62417 r62424  
    531531#endif
    532532            }
    533             return VERR_CPUM_RAISE_GP_0;
     533            break;
    534534        }
    535535
     
    543543            if (s_cTimes++ < 20)
    544544                LogRel(("GIM: HyperV: Unknown/invalid RdMsr (%#x) -> #GP(0)\n", idMsr));
    545 #else
    546             return VINF_CPUM_R3_MSR_READ;
    547 #endif
    548545            LogFunc(("Unknown/invalid RdMsr (%#RX32) -> #GP(0)\n", idMsr));
    549546            break;
     547#else
     548            return VINF_CPUM_R3_MSR_READ;
     549#endif
    550550        }
    551551    }
     
    10101010        case MSR_GIM_HV_APIC_FREQ:
    10111011            LogFunc(("WrMsr on read-only MSR %#RX32 -> #GP(0)\n", idMsr));
    1012             return VERR_CPUM_RAISE_GP_0;
     1012            break;
    10131013
    10141014        case MSR_GIM_HV_DEBUG_OPTIONS_MSR:
     
    10331033                LogRel(("GIM: HyperV: Unknown/invalid WrMsr (%#x,%#x`%08x) -> #GP(0)\n", idMsr,
    10341034                        uRawValue & UINT64_C(0xffffffff00000000), uRawValue & UINT64_C(0xffffffff)));
    1035 #else
    1036             return VINF_CPUM_R3_MSR_WRITE;
    1037 #endif
    10381035            LogFunc(("Unknown/invalid WrMsr (%#RX32,%#RX64) -> #GP(0)\n", idMsr, uRawValue));
    10391036            break;
     1037#else
     1038            return VINF_CPUM_R3_MSR_WRITE;
     1039#endif
    10401040        }
    10411041    }
Note: See TracChangeset for help on using the changeset viewer.

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