VirtualBox

Changeset 71035 in vbox for trunk


Ignore:
Timestamp:
Feb 15, 2018 8:51:04 PM (7 years ago)
Author:
vboxsync
Message:

NEM: More code - got the 'FATAL: Could not read from the boot medium! System halted.' message up on the screen. bugref:9044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/NEMR3Native-win.cpp

    r71032 r71035  
    16961696
    16971697
    1698 static VBOXSTRICTRC nemR3WinHandleHalt(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, WHV_RUN_VP_EXIT_CONTEXT const *pExitReason)
    1699 {
    1700     NOREF(pVM); NOREF(pVCpu); NOREF(pCtx); NOREF(pExitReason);
    1701     AssertLogRelFailedReturn(VERR_NOT_IMPLEMENTED);
     1698static VBOXSTRICTRC nemR3WinHandleHalt(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx)
     1699{
     1700    NOREF(pVM); NOREF(pVCpu); NOREF(pCtx);
     1701    LogFlow(("nemR3WinHandleHalt\n"));
     1702    return VINF_EM_HALT;
    17021703}
    17031704
     
    17941795                                               WHV_X64_IO_PORT_ACCESS_CONTEXT const *pIoPortCtx)
    17951796{
     1797    Assert(   pIoPortCtx->AccessInfo.AccessSize == 1
     1798           || pIoPortCtx->AccessInfo.AccessSize == 2
     1799           || pIoPortCtx->AccessInfo.AccessSize == 4);
     1800
    17961801    VBOXSTRICTRC rcStrict;
    17971802    if (!pIoPortCtx->AccessInfo.StringOp)
     
    18031808
    18041809        static uint32_t const s_fAndMask[8] =
    1805         {   UINT32_C(0xff), UINT32_C(0xffff), UINT32_MAX, UINT32_MAX, UINT32_MAX, UINT32_MAX, UINT32_MAX, UINT32_MAX };
     1810        { UINT32_MAX, UINT32_C(0xff), UINT32_C(0xffff), UINT32_MAX, UINT32_MAX, UINT32_MAX, UINT32_MAX, UINT32_MAX };
    18061811        uint32_t const fAndMask = s_fAndMask[pIoPortCtx->AccessInfo.AccessSize];
    18071812        if (pIoPortCtx->AccessInfo.IsWrite)
     
    20182023
    20192024            case WHvRunVpExitReasonX64Halt:
    2020                 rcStrict = nemR3WinHandleHalt(pVM, pVCpu, pCtx, &ExitReason);
     2025                rcStrict = nemR3WinHandleHalt(pVM, pVCpu, pCtx);
    20212026                break;
    20222027
     
    20762081            || VMCPU_FF_IS_PENDING(pVCpu, !fSingleStepping ? VMCPU_FF_HP_R0_PRE_HM_MASK : VMCPU_FF_HP_R0_PRE_HM_STEP_MASK) )
    20772082        {
    2078             LogFlow(("nemR3NativeRunGC: returning: pending FF\n"));
     2083            LogFlow(("nemR3NativeRunGC: returning: pending FF (%#x / %#x)\n", pVM->fGlobalForcedActions, pVCpu->fLocalForcedActions));
    20792084            break;
    20802085        }
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