VirtualBox

Changeset 97292 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 25, 2022 8:29:49 AM (2 years ago)
Author:
vboxsync
Message:

Devices/VirtioScsi: Fixed controller not being recognized by the UEFI driver, ticketref:21200

Location:
trunk/src/VBox/Devices
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevVirtioNet_1_0.cpp

    r97092 r97292  
    35433543    VirtioPciParams.uClassSub                      = PCI_CLASS_SUB_NET_ETHERNET_CONTROLLER;
    35443544    VirtioPciParams.uClassProg                     = PCI_CLASS_PROG_UNSPECIFIED;
    3545     VirtioPciParams.uSubsystemId                   = PCI_DEVICE_ID_VIRTIONET_HOST;  /* VirtIO 1.0 allows PCI Device ID here */
     3545    VirtioPciParams.uSubsystemId                   = DEVICE_PCI_NETWORK_SUBSYSTEM;  /* VirtIO 1.0 allows PCI Device ID here */
    35463546    VirtioPciParams.uInterruptLine                 = 0x00;
    35473547    VirtioPciParams.uInterruptPin                  = 0x01;
  • trunk/src/VBox/Devices/VirtIO/VirtioCore.cpp

    r97030 r97292  
    24642464        PDMPciDevSetRevisionId(pPciDev,     DEVICE_PCI_REVISION_ID_VIRTIO_V1);
    24652465
    2466     PDMPciDevSetSubSystemId(pPciDev,        DEVICE_PCI_NETWORK_SUBSYSTEM);
     2466    PDMPciDevSetSubSystemId(pPciDev,        pPciParams->uSubsystemId);
    24672467    PDMPciDevSetSubSystemVendorId(pPciDev,  DEVICE_PCI_VENDOR_ID_VIRTIO);
    24682468    PDMPciDevSetClassBase(pPciDev,          pPciParams->uClassBase);
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