Opened 15 years ago
Closed 6 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 )
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 , 15 years ago
Type: | defect → enhancement |
---|
comment:2 by , 14 years ago
comment:3 by , 14 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 , 6 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Summary: | Connect/Disconnect Serial ports (uart) on-the-fly via controlvm → Connect/Disconnect Serial ports (uart) on-the-fly via controlvm -> fixed in 6.0 |
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.