VirtualBox

Changeset 81126 in vbox


Ignore:
Timestamp:
Oct 7, 2019 11:13:47 AM (5 years ago)
Author:
vboxsync
Message:

Storage/DevVirtioSCSI.cpp: fix burn

File:
1 edited

Legend:

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

    r81123 r81126  
    2323
    2424#include <VBox/log.h>
     25#include <VBox/msi.h>
    2526#include <iprt/param.h>
    2627#include <iprt/assert.h>
     
    10321033{
    10331034
    1034     extern PDMDEVREG g_DeviceVirtioSCSI;
    1035 
    10361035    PVIRTIOSTATE pVirtio = (PVIRTIOSTATE)RTMemAllocZ(sizeof(VIRTIOSTATE));
    10371036    if (!pVirtio)
     
    12191218        aMsiReg.iMsixNextOffset = 0;
    12201219        aMsiReg.iMsixBar        = VIRTIO_REGION_MSIX_CAP;
    1221         aMsiReg.cMsixVectors    = g_DeviceVirtioSCSI.cMaxMsixVectors;
     1220        aMsiReg.cMsixVectors    = VBOX_MSIX_MAX_ENTRIES;
    12221221        rc = PDMDevHlpPCIRegisterMsi(pDevIns, &aMsiReg); /* see MsixR3init() */
    12231222        if (RT_FAILURE(rc))
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