Changeset 81126 in vbox
- Timestamp:
- Oct 7, 2019 11:13:47 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VirtIO/Virtio_1_0.cpp
r81123 r81126 23 23 24 24 #include <VBox/log.h> 25 #include <VBox/msi.h> 25 26 #include <iprt/param.h> 26 27 #include <iprt/assert.h> … … 1032 1033 { 1033 1034 1034 extern PDMDEVREG g_DeviceVirtioSCSI;1035 1036 1035 PVIRTIOSTATE pVirtio = (PVIRTIOSTATE)RTMemAllocZ(sizeof(VIRTIOSTATE)); 1037 1036 if (!pVirtio) … … 1219 1218 aMsiReg.iMsixNextOffset = 0; 1220 1219 aMsiReg.iMsixBar = VIRTIO_REGION_MSIX_CAP; 1221 aMsiReg.cMsixVectors = g_DeviceVirtioSCSI.cMaxMsixVectors;1220 aMsiReg.cMsixVectors = VBOX_MSIX_MAX_ENTRIES; 1222 1221 rc = PDMDevHlpPCIRegisterMsi(pDevIns, &aMsiReg); /* see MsixR3init() */ 1223 1222 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.