Changeset 92939 in vbox for trunk/src/VBox/Devices/Storage/DevVirtioSCSI.cpp
- Timestamp:
- Dec 15, 2021 3:51:28 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevVirtioSCSI.cpp
r91920 r92939 1996 1996 * Call the virtio core to let it load its state. 1997 1997 */ 1998 rc = virtioCoreR3LoadExec(&pThis->Virtio, pDevIns->pHlpR3, pSSM); 1998 rc = virtioCoreR3ModernDeviceLoadExec(&pThis->Virtio, pDevIns->pHlpR3, pSSM, 1999 uVersion, VIRTIOSCSI_SAVED_STATE_VERSION, pThis->virtioScsiConfig.uNumVirtqs); 1999 2000 2000 2001 /* … … 2087 2088 * Call the virtio core to let it save its state. 2088 2089 */ 2089 return virtioCoreR3SaveExec(&pThis->Virtio, pDevIns->pHlpR3, pSSM );2090 return virtioCoreR3SaveExec(&pThis->Virtio, pDevIns->pHlpR3, pSSM, VIRTIOSCSI_SAVED_STATE_VERSION, VIRTIOSCSI_VIRTQ_CNT); 2090 2091 } 2091 2092 … … 2469 2470 2470 2471 rc = virtioCoreR3Init(pDevIns, &pThis->Virtio, &pThisCC->Virtio, &VirtioPciParams, pThis->szInstance, 2471 VIRTIOSCSI_HOST_SCSI_FEATURES_OFFERED, 2472 VIRTIOSCSI_HOST_SCSI_FEATURES_OFFERED, 0 /*fOfferLegacy*/, 2472 2473 &pThis->virtioScsiConfig /*pvDevSpecificCap*/, sizeof(pThis->virtioScsiConfig)); 2473 2474 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.