Bug 505749

Summary: Feature Request: use ncurses console instead of serial console
Product: [Community] Virtualization Tools Reporter: Julian G <j.golderer>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: berrange, crobinso, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-17 09:32:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Julian G 2009-06-13 14:20:48 UTC
Description of problem:
By default "virsh console" connects to the serial console. If you'd like to use this you have to change grub and inittab configuration.

Version-Release number of selected component (if applicable):
libvirt-0.6.2

Expected results:
If virsh console would connect to kvm ncurses interface, it would be usable without any configuration changes on the guest system.

Comment 1 Daniel Berrangé 2009-06-17 09:32:24 UTC
In the future KVM guests will have a VirtIO Console enabled by default

https://bugzilla.redhat.com/show_bug.cgi?id=501328

Comment 2 Julian G 2009-06-17 13:09:23 UTC
What's about guests which haven't this option enabled by default (e.g. Gentoo)? Why do you deny the possibility of a ncurses interface?

Comment 3 Cole Robinson 2009-06-17 13:24:13 UTC
A fundamental piece of the libvirt qemu driver is that all qemu processes are daemonized: I'm pretty sure this makes it incompatible with using -curses.

Comment 4 Daniel Berrangé 2009-06-17 13:35:22 UTC
Any new distro which does not configure VirtIO console should be considered broken. This RFE is the core reason for VirtIO console to exist, and why libvirt will soon be enabling it by default on all guests. In addition the ncurses interfaces is associated with the VGA graphics adapter, which is automatically configured to use VNC by virt-manager/virt-install. The virsh console command connects to the first serial port console, or VirtIO console both of which are available by default regardless of VGA device config.

Comment 5 Julian G 2009-06-18 21:50:54 UTC
Thank you for this explanation :)