VirtualBox

Changeset 100400 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
Jul 6, 2023 8:58:02 AM (20 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158140
Message:

Devices/VirtIO: Add support for the VirtIO over MMIO transport mode useful for ARM, bugref:10459

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevVirtioSCSI.cpp

    r100371 r100400  
    24932493     * Validate and read configuration.
    24942494     */
    2495     PDMDEV_VALIDATE_CONFIG_RETURN(pDevIns, "NumTargets|Bootable", "");
     2495    PDMDEV_VALIDATE_CONFIG_RETURN(pDevIns, "NumTargets"
     2496                                           "|Bootable"
     2497                                           "|MmioBase"
     2498                                           "|Irq", "");
    24962499
    24972500    int rc = pHlp->pfnCFGMQueryU32Def(pCfg, "NumTargets", &pThis->cTargets, 1);
     
    25412544    VirtioPciParams.uInterruptLine          = 0x00;
    25422545    VirtioPciParams.uInterruptPin           = 0x01;
     2546    VirtioPciParams.uDeviceType             = VIRTIO_DEVICE_TYPE_SCSI_HOST;
    25432547
    25442548    rc = virtioCoreR3Init(pDevIns, &pThis->Virtio, &pThisCC->Virtio, &VirtioPciParams, pThis->szInstance,
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