VirtualBox

Changeset 10721 in vbox for trunk


Ignore:
Timestamp:
Jul 17, 2008 12:08:53 PM (16 years ago)
Author:
vboxsync
Message:

Missing update for last error handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r10663 r10721  
    605605
    606606            Assert(!pVM->vmm.s.fSwitcherDisabled);
    607             return VERR_NOT_SUPPORTED;
    608         }
     607            pVM->vmm.s.iLastGCRc = VERR_NOT_SUPPORTED;
     608            break;
     609       }
    609610
    610611        /*
     
    645646         */
    646647        case VMMR0_DO_NOP:
     648            pVM->vmm.s.iLastGCRc = VINF_SUCCESS;
    647649            return VINF_SUCCESS;
    648650
     
    652654        default:
    653655            AssertMsgFailed(("%#x\n", enmOperation));
    654             return VERR_NOT_SUPPORTED;
    655     }
     656            pVM->vmm.s.iLastGCRc = VERR_NOT_SUPPORTED;
     657            break;
     658    }
     659    /* Error case, but the error was written to pVM->vmm.s.iLastGCRc */
     660    return VINF_SUCCESS;
    656661}
    657662
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