Changeset 100398 in vbox
- Timestamp:
- Jul 6, 2023 8:40:28 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevVirtioNet.cpp
r100371 r100398 1077 1077 { 1078 1078 Log10((" and its worker")); 1079 rc = PDMDevHlpThreadDestroy(pVirtio->pDevInsR3, pWorkerR3->pThread, &rcThread); 1080 AssertRCReturn(rc, rc); 1081 pWorkerR3->pThread = 0; 1082 1079 1083 rc = PDMDevHlpSUPSemEventClose(pVirtio->pDevInsR3, pWorker->hEvtProcess); 1080 1084 AssertRCReturn(rc, rc); 1081 1085 pWorker->hEvtProcess = 0; 1082 rc = PDMDevHlpThreadDestroy(pVirtio->pDevInsR3, pWorkerR3->pThread, &rcThread); 1083 AssertRCReturn(rc, rc); 1084 pWorkerR3->pThread = 0; 1086 1085 1087 pVirtq->fHasWorker = false; 1086 1088 } … … 3241 3243 virtioNetR3SetVirtqNames(pThis, fLegacy); 3242 3244 3245 /** @todo r=aeichner We can't just destroy the control queue here because the UEFI firmware and the guest OS might have different 3246 * opinions on how to use the device and if the UEFI firmware causes the control queue to be destroyed Linux guests 3247 * will have a hard time using it. */ 3248 #if 0 3243 3249 /* Senseless for modern guest to use control queue in this case. (See Note 1 in PDM-invoked device constructor) */ 3244 3250 if (!fLegacy && !(fDriverFeatures & VIRTIONET_F_CTRL_VQ)) 3245 3251 virtioNetR3VirtqDestroy(pVirtio, &pThis->aVirtqs[CTRLQIDX]); 3252 #else 3253 RT_NOREF(fDriverFeatures); 3254 #endif 3246 3255 } 3247 3256
Note:
See TracChangeset
for help on using the changeset viewer.