Bug 505749 - Feature Request: use ncurses console instead of serial console
Summary: Feature Request: use ncurses console instead of serial console
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-13 14:20 UTC by Julian G
Modified: 2010-03-16 17:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-17 09:32:24 UTC
Embargoed:


Attachments (Terms of Use)

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 :)


Note You need to log in before you can comment on or make changes to this bug.