VirtualBox

Changeset 93009 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Dec 17, 2021 9:38:06 AM (3 years ago)
Author:
vboxsync
Message:

Fix burn. Dang this is what I get starting close to bed time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VirtIO/VirtioCore.cpp

    r93007 r93009  
    10531053                VIRTQNAME(pVirtio, uVirtq), pVirtq->uUsedIdxShadow));
    10541054
    1055         virtioWriteUsedElem(pDevIns, pVirtio, pVirtq, pVirtq->uUsedIdxShadow++, pVirtqBuf->uHeadIdx, cbEnqueue);
     1055        virtioWriteUsedElem(pDevIns, pVirtio, pVirtq, pVirtq->uUsedIdxShadow++, pVirtqBuf->uHeadIdx, (uint32_t)cbEnqueue);
    10561056
    10571057#ifdef LOG_ENABLED
     
    25762576    PDMDevHlpSTAMRegisterF(pDevIns, &pVirtio->StatDescChainsFreed,      STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT,
    25772577                           "Total number of freed descriptor chains",       "DescChainsFreed");
    2578     PDMDevHlpSTAMRegisterF(pDevIns, &pVirtio->StatDescChainsSegsIquin,     STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT,
     2578    PDMDevHlpSTAMRegisterF(pDevIns, &pVirtio->StatDescChainsSegsIn,     STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT,
    25792579                           "Total number of inbound segments",              "DescChainsSegsIn");
    25802580    PDMDevHlpSTAMRegisterF(pDevIns, &pVirtio->StatDescChainsSegsOut,    STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette