From 2df6cd64d4903ae12cee2e5690e44f548a5ceb7c Mon Sep 17 00:00:00 2001 From: Christian Prochaska Date: Tue, 23 Feb 2016 11:48:06 +0100 Subject: [PATCH] vbox: implement 'drvNicAsyncIoWakeup()' Fixes #1893 --- repos/ports/src/virtualbox/network.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/repos/ports/src/virtualbox/network.cpp b/repos/ports/src/virtualbox/network.cpp index 88e81c34f..b87d7268e 100644 --- a/repos/ports/src/virtualbox/network.cpp +++ b/repos/ports/src/virtualbox/network.cpp @@ -420,10 +420,12 @@ static DECLCALLBACK(int) drvNicAsyncIoThread(PPDMDRVINS pDrvIns, PPDMTHREAD pThr */ static DECLCALLBACK(int) drvNicAsyncIoWakeup(PPDMDRVINS pDrvIns, PPDMTHREAD pThread) { - /* - * Since we already wake up on singals in the I/O thread function - * we just return success at this point. - */ + PDRVNIC pThis = PDMINS_2_DATA(pDrvIns, PDRVNIC); + Nic_client *nic_client = pThis->nic_client; + + if (nic_client) + Genode::Signal_transmitter(nic_client->dispatcher()).submit(); + return VINF_SUCCESS; }