From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kenton Cabiness Subject: Can BIOS output be configured to print to a virtualized serial port? Date: Fri, 08 Jul 2011 15:52:42 -0500 Message-ID: <4E176E1A.8020601@alcatel-lucent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from ihemail4.lucent.com ([135.245.0.39]:37015 "EHLO ihemail4.lucent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752872Ab1GHVDM (ORCPT ); Fri, 8 Jul 2011 17:03:12 -0400 Received: from usnavsmail3.ndc.alcatel-lucent.com (usnavsmail3.ndc.alcatel-lucent.com [135.3.39.11]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id p68Kqh5g021864 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 8 Jul 2011 15:52:44 -0500 (CDT) Received: from umail.lucent.com (umail-ce2.ndc.lucent.com [135.3.40.63]) by usnavsmail3.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id p68Kqggd012664 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 8 Jul 2011 15:52:43 -0500 Received: from [135.185.92.148] (cabiness01-c1.ih.lucent.com [135.185.92.148]) by umail.lucent.com (8.13.8/TPES) with ESMTP id p68Kqg3m010549 for ; Fri, 8 Jul 2011 15:52:42 -0500 (CDT) Sender: kvm-owner@vger.kernel.org List-ID: We are trying to configure a system using KVM as an abstraction layer to make our software more portable. We would like to configure our system so that the BIOS output (DHCP information in particular) is directed to the same pty as the console connection (ttyS0) so that this output can be logged and the boot process can be monitored. It seems that the BIOS (seabios) prints it's output to the graphical interface (which ends up being tty1), while the console is ttyS0 when a console interface is configured in the XML file. We are using RHEL 6.1, libvirt-0.8.7-18, virt-manager-0.8.6-4, seabios-0.6.1.2-3, and qemu-kvm-0.12.1.2-2.160. Is this possible or are we stuck with using using virt-manager (or some other VNC application) to monitor the initialization of the virtual machines? Thanks, Kenton