4 ms·
I wonder if this is implemented at the hypervisor level (gives you access to the "console") or if this is actually implemented as a serial port.
by bombcar 6y ago
I wonder if this is implemented at the hypervisor level (gives you access to the "console") or if this is actually implemented as a serial port.
- rwmj 6y agoWhat would be the difference exactly? The console of a Linux VM is either the emulated serial port or the emulated VGA device + emulated keyboard. I once implemented a tool called virt-dmesg which read out the log_buf from a running Linux kernel (surprisingly useful for those tricky crashes, but difficult from a maintenance point view so the tool is now abandoned). I suppose that's the closest you could get to a "real" console at the hypervisor level.
- bombcar 6y agoA "text console" is almost always there but a serial console has to be enabled on the instance itself. Based on a quick SSH it looks like it's a serial thing: root 1221 /sbin/agetty -o -p -- \u --keep-baud 115200,38400,9600 ttyS0 vt220 root 1229 /sbin/agetty -o -p -- \u --noclear tty1 linux
- deleted 6y ago[deleted]
- JdeBP 6y ago... or the parallel port. A lot of people forget that one. * http://jdebp.uk./Softwares/nosh/guide/commands/linux-console.xml http://jdebp.uk./Softwares/nosh/guide/commands/linux-console...