[vbox-dev] Problems with porting a VritualBox frontend from Windows to Linux

Rūdolfs Bundulis rudolfs.bundulis at gmail.com
Sun Mar 29 23:42:14 UTC 2015


I compiled debug version of 4.3.26 and tried my code against it - now the
log has a much nicer assert message just before it ends:

00:00:55.619996 TM: GIP - u32Mode=1 (SyncTSC) u32UpdateHz=83
00:00:55.652313 TM: cTSCTicksPerSecond=0xa0861eba (2 693 144 250)
fTSCVirtualized=true  fTSCUseRealTSC=false
00:00:55.652322 TM: fMaybeUseOffsettedHostTSC=true
TSCTiedToExecution=false TSCNotTiedToHalt=false
00:00:55.652376 !!Assertion Failed!!
00:00:55.652378 Expression: <NULL>
00:00:55.652380 Location  :
/home/rudolfs/VirtualBox-4.3.26/src/VBox/VMM/VMMR3/TM.cpp(576) int
00:00:55.652508 Failed to create timer, u32Millies=10 rc=VERR_NOT_SUPPORTED.

I put a breakpoint in TM.cpp:576, and it seems that I am failing because of
the code in RTTimerCreateEx():

     * We need the signal masks to be set correctly, which they won't be in
     * unobtrusive mode.
    if (RTR3InitIsUnobtrusive())
        return VERR_NOT_SUPPORTED;

What is unobtrusive mode and what signal masks do I need to set? I'll have
a look at what is done in the frontends, but I guess that you guys here can
explain it in more detail.

Best Reagrds,
Rudolfs Bundulis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20150330/c4465edf/attachment.html 

More information about the vbox-dev mailing list