Changeset 93002 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Dec 17, 2021 9:08:53 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevVirtioNet_1_0.cpp
r93001 r93002 1230 1230 RT_NOREF(pThisCC); 1231 1231 1232 RTMAC uMacLoaded, uVersionMarkerMac = VIRTIONET_VERSION_MARKER_MAC_ADDR;1232 RTMAC uMacLoaded, uVersionMarkerMac = { VIRTIONET_VERSION_MARKER_MAC_ADDR }; 1233 1233 rc = pHlp->pfnSSMGetMem(pSSM, &uMacLoaded.au8, sizeof(uMacLoaded.au8)); 1234 1234 AssertRCReturn(rc, rc); … … 1382 1382 * legacy code stored assigned NIC address as the first item of SSM state 1383 1383 */ 1384 RTMAC uVersionMarkerMac = VIRTIONET_VERSION_MARKER_MAC_ADDR;1384 RTMAC uVersionMarkerMac = { VIRTIONET_VERSION_MARKER_MAC_ADDR }; 1385 1385 pHlp->pfnSSMPutMem(pSSM, &uVersionMarkerMac.au8, sizeof(uVersionMarkerMac.au8)); 1386 1386 … … 1552 1552 1553 1553 else if (!virtioCoreIsVirtqEnabled(&pThis->Virtio, pRxVirtq->uIdx)) 1554 Log8(("[No Rx bufs available. (%s not enabled)\n" ));1554 Log8(("[No Rx bufs available. (%s not enabled)\n", pVirtq->szName)); 1555 1555 1556 1556 else if (IS_VIRTQ_EMPTY(pDevIns, &pThis->Virtio, pRxVirtq->uIdx)) 1557 Log8(("No Rx bufs available. (%s empty)\n") );1557 Log8(("No Rx bufs available. (%s empty)\n"), pVirtq->szName); 1558 1558 1559 1559 else
Note:
See TracChangeset
for help on using the changeset viewer.