best way to provide access to serial port devices
I'm rebuilding a cereal-based console server that is currently running on bare metal. I'd like to run it in a KVM guest, but I don't think we have a way to pass in arbitrary devices, like the serial port devices (e.g. /dev/ttyS1 or /dev/ttyUSB0, etc), from a host to a KVM guest.
Any thoughts on how we could approach this problem?
I found one clear method for achieving exactly what I would need but it's very specific to USB serial console devices. Not sure if there is a more general approach?