pdm_driver.patch

diff --git a/src/app/virtualbox/src/VBox/VMM/VMMR3/PDMDriver.cpp b/src/app/virtualbox/src/VBox/VMM/VMMR3/PDMDriver.cpp
index 80e4efc..43b3bfc 100644
--- a/src/app/virtualbox/src/VBox/VMM/VMMR3/PDMDriver.cpp
+++ b/src/app/virtualbox/src/VBox/VMM/VMMR3/PDMDriver.cpp
@@ -1550,7 +1550,11 @@ static DECLCALLBACK(int) pdmR3DrvHlp_AsyncCompletionTemplateCreate(PPDMDRVINS pD
     LogFlow(("pdmR3DrvHlp_AsyncCompletionTemplateCreate: caller='%s'/%d: ppTemplate=%p pfnCompleted=%p pszDesc=%p:{%s}\n",
              pDrvIns->pReg->szName, pDrvIns->iInstance, ppTemplate, pfnCompleted, pszDesc, pszDesc));
 
+#ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
     int rc = pdmR3AsyncCompletionTemplateCreateDriver(pDrvIns->Internal.s.pVMR3, pDrvIns, ppTemplate, pfnCompleted, pvTemplateUser, pszDesc);
+#else
+    int rc = VERR_NOT_IMPLEMENTED;
+#endif
 
     LogFlow(("pdmR3DrvHlp_AsyncCompletionTemplateCreate: caller='%s'/%d: returns %Rrc *ppThread=%p\n", pDrvIns->pReg->szName,
              pDrvIns->iInstance, rc, *ppTemplate));
