VirtualBox

Changeset 14696

Show
Ignore:
Timestamp:
11/27/08 12:08:02 (1 month 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.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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            } 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy