VirtualBox

Changeset 81090 in vbox for trunk/src/VBox/Devices/PC/BIOS


Ignore:
Timestamp:
Sep 30, 2019 10:33:49 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133696
Message:

Devices/BIOS: Skeleton of a VirtIO driver, just detects any device for now, bugref:9440 [bug fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/virtio.c

    r81089 r81090  
    296296
    297297            if (   u8PciCapId == PCI_CAP_ID_VNDR
    298                 && cbPciCap == sizeof(virtio_pci_cap_t))
     298                && cbPciCap >= sizeof(virtio_pci_cap_t))
    299299            {
    300300                /* Read in the config type and see what we got. */
Note: See TracChangeset for help on using the changeset viewer.

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