VirtualBox

Ticket #2693 (new enhancement)

Opened 5 years ago

Last modified 2 years ago

Feature enhancement: serial ports should have a telnet listener config option

Reported by: gwr Owned by:
Priority: minor Component: uart
Version: VirtualBox 2.0.6 Keywords: telnet
Cc: Gordon.Ross@… Guest type: Solaris
Host type: Solaris

Description

The serial port emulated for VirtualBox guests currently supports only one interface to the hosting system, which is a "UNIX domain" socket. It would be more convenient if instead, or in addition, VirtualBox supported listening on localhost:port, i.e. 127.0.0.1:789, where the port number is configurable similar to the current "pipe name" setting.

This should allow a local "telnet localhost 789" command to connect to the console on the guest OS, removing the need to download and build "socat" or similar utilities.

This should also enable the _very_important_ ability to send a "line break" to the guest OS, which is needed to "break into" the debugger on Solaris (and some others). With the telnet client, and typical console servers, one can send the local telnet escape, and then do "send brk" to cause the generation of a serial "line break" on the console.

Change History

comment:1 Changed 5 years ago by sandervl73

  • Priority changed from major to minor
  • Summary changed from serial ports should have a telnet listener config option to Feature enhancement: serial ports should have a telnet listener config option

I don't really see why we should invest time if you can just use 3rd party utilities to do the job.

In the next major version you'll be also able to inject NMIs into the guest (VT-x/AMD-V only) to activate the Solaris kernel debugger.

comment:2 Changed 5 years ago by gwr

I'm sitting here with a hung (virtual) test machine today. I'd really like to have that NMI feature, or if we had the telnet feature requested by this ticket, I'd just do

esc-right-bracket, send brk

and i'd be into kmdb on the serial line...

comment:3 Changed 5 years ago by aeichner

Recent versions of VirtualBox support injection of an NMI. Just execute VBoxManage controlvm <VM name> injectnmi

comment:4 Changed 2 years ago by Technologov

Duplicate of wish #1851

-Technologov

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use