Changeset 25984 in vbox for trunk/src/VBox/Devices/VirtIO
- Timestamp:
- Jan 23, 2010 12:19:47 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56849
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VirtIO/Virtio.cpp
r25966 r25984 533 533 if (RTUuidCompare2Strs(pszIID, PDMIBASE_IID) == 0) 534 534 return &pThis->IBase; 535 if (RTUuidCompare2Strs(pszIID, PDMINTERFACE_LED_PORTS) == 0) 536 return &pThis->ILeds; 535 PDMIBASE_RETURN_INTERFACE(pszIID, PDMILEDPORTS, &pThis->ILeds); 537 536 return NULL; 538 537 } … … 837 836 if (RT_FAILURE(rc)) 838 837 return PDMDEV_SET_ERROR(pDevIns, rc, N_("Failed to attach the status LUN")); 839 pState->pLedsConnector = (PPDMILEDCONNECTORS)pBase->pfnQueryInterface(pBase, PDMINTERFACE_LED_CONNECTORS);838 pState->pLedsConnector = PDMIBASE_QUERY_INTERFACE(pBase, PDMILEDCONNECTORS); 840 839 841 840 pState->nQueues = nQueues;
Note:
See TracChangeset
for help on using the changeset viewer.