VirtualBox

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


Ignore:
Timestamp:
Nov 26, 2008 6:20:22 PM (16 years ago)
Author:
vboxsync
Message:

DBGF: don't bother waiting for attach assertions and errors when in HWACCM mode.

File:
1 edited

Legend:

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

    r14299 r14660  
    7878#include <VBox/rem.h>
    7979#include <VBox/em.h>
     80#include <VBox/hwaccm.h>
    8081#include "DBGFInternal.h"
    8182#include <VBox/vm.h>
     
    8990#include <iprt/assert.h>
    9091#include <iprt/stream.h>
     92#include <iprt/env.h>
    9193
    9294
     
    241243    int cWait = 10;
    242244# else
    243     int cWait = 150;
     245    int cWait = HWACCMIsEnabled(pVM)
     246             && (   enmEvent == DBGFEVENT_ASSERTION_HYPER
     247                 || enmEvent == DBGFEVENT_FATAL_ERROR)
     248             && !RTEnvExist("VBOX_DBGF_WAIT_FOR_ATTACH")
     249              ? 10
     250              : 150;
    244251# endif
    245252    RTStrmPrintf(g_pStdErr, "DBGF: No debugger attached, waiting %d second%s for one to attach (event=%d)\n",
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