On Tue, Jan 08, 2019 at 11:51:33PM +1100, Russell Coker wrote:
Currently I run my kvm VMs under screen
sounds like a PITA doing everything manually...but whatever works for you.
and just use screen -r to get the console.
I strongly recommend switching to tmux. I stuck with screen for many years,
been using it since the early 90s, but finally made the switch about a year
ago...finally got sick of screen's bugs, quirks, piss-poor unicode support,
and effective abandonment as an actively-developed project. it took me about
half an hour to configure it so that the transition was non-traumatic. after
a few days, i wouldn't even consider switching back, any more than i'd switch
back from mutt to elm.
As I did with screen, I've mapped tmux's escape key to ^K. I rarely use that
for anything else but I use ^A all the time -- ^A is move to start of line
in bash/readline, an extremely stupid key for screen to hijack as its default
control prefix. tmux's default of ^B is better, but I've got used to ^K over
the years. Unlearning that would be too painful.
Virsh has some benefits, but so far it hasn't
seemed worth the pain.
for just "virsh console", no not worth it. for everything else - virsh and
libvirt are definitely worth it.
craig
--
craig sanders <cas(a)taz.net.au>