VirtualBox

Changeset 95609 in vbox for trunk/src/VBox/Devices/VirtIO


Ignore:
Timestamp:
Jul 12, 2022 8:28:41 PM (2 years ago)
Author:
vboxsync
Message:

Devices/DevVirtioNet_1_0: Fix legacy 32-bit guest compatibility. bugref:8651

File:
1 edited

Legend:

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

    r94969 r95609  
    17361736                pVirtio->uDriverFeatures &= VIRTIO_DEV_INDEPENDENT_LEGACY_FEATURES_OFFERED;
    17371737        }
    1738         if (!((pVirtio->fDriverFeaturesWritten ^= 1) & 1))
     1738        if (!(pVirtio->fDriverFeaturesWritten & DRIVER_FEATURES_COMPLETE_HANDLED))
    17391739        {
    17401740#ifdef IN_RING0
    17411741            Log6(("%-23s: RING0 => RING3 (demote)\n", __FUNCTION__));
    1742             return VINF_IOM_R3_MMIO_WRITE;
     1742            return VINF_IOM_R3_IOPORT_WRITE;
    17431743#endif
    17441744#ifdef IN_RING3
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