[vbox-dev] Enabling logging in R0 context

Luca Carotenuto luca.carotenuto.91 at gmail.com
Thu Nov 26 09:56:20 GMT 2015


Hello, and thanks for the replies.

Federico,

I already set these settings when I logged in R3 context, and it worked for
that purpose, but in R0 this doesn't produce the log I need.


Frank

>
> R0 logging is not possible with 'release' logging. You need to build
> a debug build (as you already did) and enable the 'debug' logging.
> And you need to add
>
>   VBOX_WITH_R0_LOGGING=1
>
> to your LocalConfig.kmk, see src/VBox/VMM/include/VMMInternal.h lines 47ff.
>
> When you run your VM, set 'VBOX_LOG=srv_intnet.e.l.l2.f'. Make sure that
> these environment settings apply to the VM process you start. The 'debug'
> log file is placed into the current directory, not into Logs/ subdirectory
> of the VM directory.


I have done exactly what you suggested, but it's not working. I also tried
to check if VBOX_WITH_R0_LOGGING is set to 1 at runtime by adding a Log in
a R3 network driver, but it shows that this flag is not set.
Any other suggestions?

Regards,
Luca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20151126/53e8f752/attachment.html>


More information about the vbox-dev mailing list