2
0
Fork 0

debugging

This commit is contained in:
Ehmry - 2020-05-23 02:15:40 +05:30
parent 51dc335291
commit 0048aa37f9
2 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ with ports; {
vbox5 = {
nativeBuildInputs = with buildPackages; [ iasl yasm ];
patches = [ ./vbox5-iasl.patch ./vbox-framebuffer-fail-on-fail.patch ];
patches = [ ./vbox5-iasl.patch ./vbox-framebuffer-fail-on-fail.patch ./vbox-debug.patch ];
portInputs = [ libc libiconv qemu-usb stdcxx virtualbox5 ];
};

View File

@ -1,4 +1,4 @@
commit a651105a412ec6f136faddfe7d27dabf8bc2354e
commit 38f6a1371da1b63fba5540e2332d627ea6037b75
Author: Emery Hemingway <ehmry@posteo.net>
Date: Sat May 23 01:54:45 2020 +0530
@ -156,14 +156,14 @@ index ed4b249ac1..d1997005d3 100644
for (unsigned uScreenId = 0; uScreenId < cMonitors; uScreenId++)
{
diff --git a/repos/ports/src/virtualbox5/network.cpp b/repos/ports/src/virtualbox5/network.cpp
index f743e64104..4a32348568 100644
index f743e64104..abb587664a 100644
--- a/repos/ports/src/virtualbox5/network.cpp
+++ b/repos/ports/src/virtualbox5/network.cpp
@@ -519,6 +519,7 @@ static DECLCALLBACK(int) drvNicConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uin
* Setup Genode nic_session connection
*/
try {
+ Genode::log("initialize Nic session ", label);
+ Genode::log("initialize Nic session ", (char const *)label);
pThis->nic_client = new (vmm_heap()) Nic_client(genode_env(), pThis, label);
} catch (...) {
return VERR_HOSTIF_INIT_FAILED;