[vbox-dev] Enabling logging in R0 context

Luca Carotenuto luca.carotenuto.91 at gmail.com
Thu Nov 26 10:25:50 GMT 2015


Frank


> at first you should check if VBOX_WITH_R0_LOGGING is really defined when
> you compile the VMM part. Apply this patch manually:
>
> --- VMMR3/VMM.cpp       (revision 104360)
> +++ VMMR3/VMM.cpp       (working copy)
> @@ -383,6 +383,7 @@
>          }
>
>  # ifdef VBOX_WITH_R0_LOGGING
> +# error EXPECTED
>          size_t const cbLogger = RTLogCalcSizeForR0(pLogger->cGroups, 0);
>          for (VMCPUID i = 0; i < pVM->cCpus; i++)
>          {
>
> and compile your tree. If 'kmk' does not abort with a build error
> "EXPECTED"
> then you did something wrong.


I applied the patch and tried to compile, but it exits with that build
error, as expected.
That means that VBOX_WITH_R0_LOGGING is defined, right? So what can I do
now?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20151126/fd573c52/attachment.html>


More information about the vbox-dev mailing list