Changeset 98063 in vbox for trunk/src/VBox/Devices/VirtIO
- Timestamp:
- Jan 12, 2023 3:01:04 PM (2 years ago)
- Location:
- trunk/src/VBox/Devices/VirtIO
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VirtIO/VirtioCore.cpp
r97530 r98063 590 590 PVIRTQUEUE pVirtq = &pVirtio->aVirtqueues[uVirtq]; 591 591 pVirtq->uVirtq = uVirtq; 592 pVirtq->uAvailIdxShadow = 0;593 pVirtq->uUsedIdxShadow = 0;594 592 pVirtq->fUsedRingEvent = false; 595 593 pVirtq->fAttached = true; … … 1014 1012 ("Guest driver not in ready state.\n"), VERR_INVALID_STATE); 1015 1013 1016 Log6Func((" Copying device data to %s, [desc:%u →used ring:%u]\n",1014 Log6Func((" Copying device data to %s, [desc:%u -> used ring:%u]\n", 1017 1015 VIRTQNAME(pVirtio, uVirtq), pVirtqBuf->uHeadIdx, pVirtq->uUsedIdxShadow)); 1018 1016 … … 1161 1159 ("Guest driver not in ready state.\n"), VERR_INVALID_STATE); 1162 1160 1163 Log6Func((" Sync %s used ring (%u →idx)\n",1161 Log6Func((" Sync %s used ring (%u -> idx)\n", 1164 1162 pVirtq->szName, pVirtq->uUsedIdxShadow)); 1165 1163 … … 1353 1351 pVirtioCC->pfnStatusChanged(pVirtio, pVirtioCC, 0 /* fDriverOk */); 1354 1352 virtioResetDevice(pDevIns, pVirtio); 1353 } 1354 1355 DECLHIDDEN(void) virtioCoreR3ResetDevice(PPDMDEVINS pDevIns, PVIRTIOCORE pVirtio, PVIRTIOCORECC pVirtioCC) 1356 { 1357 virtioGuestR3WasReset(pDevIns, pVirtio, pVirtioCC); 1355 1358 } 1356 1359 #endif /* IN_RING3 */ -
trunk/src/VBox/Devices/VirtIO/VirtioCore.h
r96407 r98063 549 549 550 550 /** 551 * Resets the device state upon a VM reset for instance. 552 * 553 * @returns nothing. 554 * @param pVirtio Pointer to the virtio state. 555 * 556 * @note Calls back into the upper device when the status changes. 557 */ 558 DECLHIDDEN(void) virtioCoreR3ResetDevice(PPDMDEVINS pDevIns, PVIRTIOCORE pVirtio, PVIRTIOCORECC pVirtioCC); 559 560 /** 551 561 * 'Attaches' host device-specific implementation's queue state to host VirtIO core 552 562 * virtqueue management infrastructure, informing the virtio core of the name of the
Note:
See TracChangeset
for help on using the changeset viewer.