Discussion:
[vbox-dev] where is the main()?
Johannes DeWitt
2014-05-17 10:36:26 UTC
Permalink
Hi, i have 2 questions about the execution of virtualbox:

1) where is the main()? when i run ./Virtualbox, where is (in the source
code) the first instructions?

2)about the loop: i read there are 4-5 loops for the execution of
VBox..which is the default loop, when i execute a normal VM (not debug mode
or smoething..just the standard execution)?

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20140517/c38227d4/attachment.html
Ramshankar
2014-05-19 03:56:08 UTC
Permalink
1. Although I don't work on the GUI myself, I think what you're looking
for is most likely: src/VBox/Frontends/VirtualBox/src/hardenedmain.cpp
or main.cpp (when compiled without hardening).

2. There are several loops but you might want to start with
EMR3ExecuteVM() in src/VBox/VMM/VMMR3/EM.cpp

Hope that helps.
Regards,
Ram.
Post by Johannes DeWitt
1) where is the main()? when i run ./Virtualbox, where is (in the
source code) the first instructions?
2)about the loop: i read there are 4-5 loops for the execution of
VBox..which is the default loop, when i execute a normal VM (not debug
mode or smoething..just the standard execution)?
thanks
_______________________________________________
vbox-dev mailing list
vbox-dev at virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20140519/2e9678ec/attachment.html
Loading...