VirtualBox

Changeset 8608 in vbox for trunk/src


Ignore:
Timestamp:
May 5, 2008 5:01:15 PM (17 years ago)
Author:
vboxsync
Message:

todo comment.

File:
1 edited

Legend:

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

    r8604 r8608  
    390390    if (RT_FAILURE(rc))
    391391    {
    392         if (rc != VERR_VMX_IN_VMX_ROOT_MODE)
    393             return vmR3SetErrorU(pUVM, rc, RT_SRC_POS, N_("Failed to load VMMR0.r0"));
    394         else
    395             return rc;  /* proper error message set later on; @todo we need a cleaner solution for this */
     392        /** @todo we need a cleaner solution for this (VERR_VMX_IN_VMX_ROOT_MODE).
     393          * bird: what about moving the message down here? Main picks the first message, right? */
     394        if (rc == VERR_VMX_IN_VMX_ROOT_MODE)
     395            return rc;  /* proper error message set later on */
     396        return vmR3SetErrorU(pUVM, rc, RT_SRC_POS, N_("Failed to load VMMR0.r0"));
    396397    }
    397398
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