From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Bj=C3=B8rn_Mork?= Subject: Re: Can BIOS output be configured to print to a virtualized serial port? Date: Fri, 08 Jul 2011 23:33:31 +0200 Message-ID: <87mxgo8nkk.fsf@nemi.mork.no> References: <4E176E1A.8020601@alcatel-lucent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE To: kvm@vger.kernel.org Return-path: Received: from lo.gmane.org ([80.91.229.12]:51506 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750879Ab1GHVdr (ORCPT ); Fri, 8 Jul 2011 17:33:47 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QfIgE-0008Dg-BL for kvm@vger.kernel.org; Fri, 08 Jul 2011 23:33:46 +0200 Received: from nemi.mork.no ([148.122.252.4]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jul 2011 23:33:46 +0200 Received: from bjorn by nemi.mork.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jul 2011 23:33:46 +0200 Sender: kvm-owner@vger.kernel.org List-ID: Kenton Cabiness writes: > 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? You can use sgabios for this. See http://code.google.com/p/sgabios/ Bj=C3=B8rn