VirtualBox

Changeset 7756 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 4, 2008 11:09:27 PM (17 years ago)
Author:
vboxsync
Message:

r=bird: Don't use TMCLOCK_VIRTUAL_SYNC unless it actually fixes something that's broken, because I suspect there will be bad sideeffects from of abusing it (like to many expired timers -> too many forced clock stops -> lagging behind and hard/impossible to catch up). Only use it for time sources that are important for the guest or/and prove to me that there are no bad sideffects and that I'm just being too cautious.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevPCNet.cpp

    r7755 r7756  
    46674667    }
    46684668#else
    4669     rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL_SYNC, pcnetTimer,
     4669    rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL, pcnetTimer,
    46704670                                "PCNet Poll Timer", &pData->pTimerPollHC);
    46714671    if (VBOX_FAILURE(rc))
     
    46784678    {
    46794679        /* Software Interrupt timer */
    4680         rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL_SYNC, pcnetTimerSoftInt,
     4680        rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL, pcnetTimerSoftInt,
    46814681                                    "PCNet SoftInt Timer", &pData->pTimerSoftIntHC);
    46824682        if (VBOX_FAILURE(rc))
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