VirtualBox

Changeset 101055 in vbox


Ignore:
Timestamp:
Sep 7, 2023 2:29:51 PM (15 months ago)
Author:
vboxsync
Message:

Main/Settings: Fixed setting serial port I/O address for settings < 1.20. bugref:10384

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/Settings.cpp

    r101054 r101055  
    79907990            pelmPort->setAttribute("slot", port.ulSlot);
    79917991            pelmPort->setAttribute("enabled", port.fEnabled);
    7992             pelmPort->setAttributeHex("IOAddress", port.ulIOAddress);
     7992            if (m->sv >= SettingsVersion_v1_20) /* IOBase was renamed to IOAddress in v1.20. */
     7993                pelmPort->setAttributeHex("IOAddress", port.ulIOAddress);
     7994            else
     7995                pelmPort->setAttributeHex("IOBase", port.ulIOAddress);
    79937996            pelmPort->setAttribute("IRQ", port.ulIRQ);
    79947997
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