Opened 14 years ago

Closed 5 years ago

#6115 closed enhancement (fixed)

Connect/Disconnect Serial ports (uart) on-the-fly via controlvm -> fixed in 6.0

Reported by: Jim Ramsay Owned by:
Component: uart Version: VirtualBox 3.1.0
Keywords: disconnect controlvm Cc:
Guest type: Linux Host type: Windows

Description (last modified by Michael Thayer)

There doesn't seem to be any way to connect or disconnect Serial Devices on-the-fly.

Obviously I cannot add a *new* serial port while a VM is running, but I would expect that I should be able to change an existing serial port from "disconnected" to "server" to "client" to "file" to a raw device whenever I like, just like I can already simulate a network cable disconnect via the GUI or 'VBoxManage controlvm setlinkstate'

This is important to me because I often have my laptop connected to a docking station, and to undock I must close all open COM ports -> Having a uart configured in a runnig VM counts as "open", so I must shut down my VMs before I can undock my PC. This is of course less than optimal.

With VMWare I could simply mark the serial port as "disconnected" before undocking: To the Guest it appears that I pulled out the serial cable, no input, no output. The host would of course close the COM port and allow me to undock.

Change History (4)

comment:1 by Frank Mehnert, 14 years ago

Type: defectenhancement

comment:2 by Claudio Morinico, 13 years ago

I would like this feature too. I often need to share the serial port between host/guest OS, and actually I have to shutdown the VM to use it on the host OS. A connect/disconnect option would be great. Now it is really annoying to have to shutdown the VM to free the serial port.

comment:3 by dsjstc, 13 years ago

Big ol' "me too" on this one. I have one modem and four VMs that occasionally want to use it.

comment:4 by Michael Thayer, 5 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed
Summary: Connect/Disconnect Serial ports (uart) on-the-fly via controlvmConnect/Disconnect Serial ports (uart) on-the-fly via controlvm -> fixed in 6.0
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use