- Timestamp:
- May 22, 2023 10:38:11 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevVirtioNet.cpp
r99775 r99889 3630 3630 PPDMIBASE pUpBase; 3631 3631 rc = PDMDevHlpDriverAttach(pDevIns, PDM_STATUS_LUN, &pThisCC->IBase, &pUpBase, "Status Port"); 3632 if (RT_FAILURE(rc) && rc != VERR_PDM_NO_ATTACHED_DRIVER) 3632 if (RT_SUCCESS(rc)) 3633 pThisCC->pLedsConnector = PDMIBASE_QUERY_INTERFACE(pUpBase, PDMILEDCONNECTORS); 3634 else if (rc != VERR_PDM_NO_ATTACHED_DRIVER) 3633 3635 return PDMDEV_SET_ERROR(pDevIns, rc, N_("Failed to attach the status LUN")); 3634 3636 3635 pThisCC->pLedsConnector = PDMIBASE_QUERY_INTERFACE(pUpBase, PDMILEDCONNECTORS);3636 3637 /* 3637 3638 * Register saved state.
Note:
See TracChangeset
for help on using the changeset viewer.