Changeset 92949 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Dec 15, 2021 8:52:05 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 148925
- Location:
- trunk/src/VBox/Devices/VirtIO
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VirtIO/VirtioCore.cpp
r92945 r92949 1302 1302 AssertMsgFailed(("Guest didn't accept VIRTIO_F_VERSION_1, but fLegacyOffered flag not set.\n")); 1303 1303 } 1304 pVirtioCC->pfnFeatureNegotiationComplete(pVirtio, pVirtio->uDriverFeatures, pVirtio->fLegacyDriver); 1304 if (pVirtioCC->pfnFeatureNegotiationComplete) 1305 pVirtioCC->pfnFeatureNegotiationComplete(pVirtio, pVirtio->uDriverFeatures, pVirtio->fLegacyDriver); 1305 1306 pVirtio->fDriverFeaturesWritten |= DRIVER_FEATURES_COMPLETE_HANDLED; 1306 1307 } … … 2347 2348 AssertReturn(pVirtioCC->pfnStatusChanged, VERR_INVALID_POINTER); 2348 2349 AssertReturn(pVirtioCC->pfnVirtqNotified, VERR_INVALID_POINTER); 2349 AssertReturn(pVirtioCC->pfnFeatureNegotiationComplete, VERR_INVALID_POINTER);2350 2350 AssertReturn(VIRTQ_SIZE > 0 && VIRTQ_SIZE <= 32768, VERR_OUT_OF_RANGE); /* VirtIO specification-defined limit */ 2351 2351 -
trunk/src/VBox/Devices/VirtIO/VirtioCore.h
r92944 r92949 390 390 * @{ */ 391 391 /** 392 * Implementation-specific client callback to report VirtIO when feature negotiation is 393 * complete. It should be invoked by the VirtIO core only once. 392 * Implementation-specific client callback to report VirtIO when feature 393 * negotiation is complete, optional. 394 * 395 * It should be invoked by the VirtIO core only once. 394 396 * 395 397 * @param pVirtio Pointer to the shared virtio state. … … 412 414 413 415 /** 414 * Implementation-specific client callback to access VirtIO Device-specific capabilities 415 * (other VirtIO capabilities and features are handled in VirtIO implementation) 416 * Implementation-specific client callback to access VirtIO Device-specific 417 * capabilities (other VirtIO capabilities and features are handled in VirtIO 418 * implementation). 416 419 * 417 420 * @param pDevIns The device instance. … … 423 426 424 427 /** 425 * Implementation-specific client callback to access VirtIO Device-specific capabilities 426 * (other VirtIO capabilities and features are handled in VirtIO implementation) 428 * Implementation-specific client callback to access VirtIO Device-specific 429 * capabilities (other VirtIO capabilities and features are handled in VirtIO 430 * implementation). 427 431 * 428 432 * @param pDevIns The device instance. … … 434 438 435 439 /** 436 * When guest-to-host queue notifications are enabled, the guest driver notifies the host 437 * that the avail queue has buffers, and this callback informs the client. 440 * When guest-to-host queue notifications are enabled, the guest driver notifies 441 * the host that the avail queue has buffers, and this callback informs the 442 * client. 438 443 * 439 444 * @param pVirtio Pointer to the shared virtio state.
Note:
See TracChangeset
for help on using the changeset viewer.