I like to run KVM virtual machines inside of Byobu, using KVM's -curses option. From QEMU's manpage:
Normally, QEMU uses SDL to display the VGA output. With this option, QEMU can display the VGA output when in text mode using a curses/ncurses interface. Nothing is displayed in graphical mode.
So this only works with non-graphical virtual machines, such as the Ubuntu Server. But hey, that's what I'm working on every day. Here's a quick demo screen cast.
Commands used in this video:
- start byobu
- run kvm -curses karmic-server.img to launch one virtual machine
- hit F8 to rename this window karmic
- hit F2 to open a new window
- start a second virtual machine, and rename that window
- hit F3 or F4 to move back and forth between windows
- hit F6 to detach
- and byobu -x to re-attach
The detach/reattach is really cool, as these virtual machines will continue running in the background. Many people use this sort of method to background an irc client such as irssi, which allows it to serve as a persistently connected proxy.
Of course, virsh and virt-manager are the preferred methods to manage virtual machines in Ubuntu, but I find this useful for my development purposes.
Cheers,
:-Dustin
wow, cool stuff!
ReplyDelete/me likes :)