VirtualBox

Changeset 14696 in vbox


Ignore:
Timestamp:
Nov 27, 2008 11:08:02 AM (16 years ago)
Author:
vboxsync
Message:

Frontends/VBoxManage: fix settings ordering bug when configuring the serial port. The path must be set first, before the port mode is set to "device". Otherwise the consistency checks in the API fails and the config change is rejected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r14664 r14696  
    30273027                else
    30283028                {
     3029                    CHECK_ERROR_RET(uart, COMSETTER(Path) (Bstr(uarts_path[n])), 1);
    30293030                    if (strcmp(uarts_mode[n], "server") == 0)
    30303031                    {
     
    30413042                        CHECK_ERROR_RET(uart, COMSETTER(HostMode) (PortMode_HostDevice), 1);
    30423043                    }
    3043                     CHECK_ERROR_RET(uart, COMSETTER(Path) (Bstr(uarts_path[n])), 1);
    30443044                }
    30453045            }
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