From: Keir Fraser Subject: Re: Re: Quieten the hypervisor Date: Wed, 19 Apr 2006 08:32:43 +0100 Message-ID: <959d540b25d521196674162c66ac65fd@cl.cam.ac.uk> References: <4445C8F3.4080700@thoughtcrime.org.nz> <4445DD19.3000603@thoughtcrime.org.nz> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4445DD19.3000603@thoughtcrime.org.nz> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tom Hibbert Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 19 Apr 2006, at 07:47, Tom Hibbert wrote: > > >> I would like to see a boot option added similar to the 'quiet' option >> for the Linux kernel to prevent the hypervisor outputting (XEN) lines >> to >> the console. Can someone do this or point to where to make the changes >> and I can do it? :) > > I've taken a look through console.c and succeeded in turning everything > off (by commenting out some code in printf) but I would like the banner > to still appear, and the (XEN) stuff to go to xm dmesg, but not to vga. > > Creating a xenlog call might be a good idea? Xen already stops outputting to vga as soon as domain0 starts to boot (assuming it has console=tty0 on its command line). So you have two options: 1. Pass 'console=none' to Xen as a boot parameter. No output on vga. 2. Pass 'console=tty0' to domain0 as a boot parameter. Output on vga until dom0 starts. There's no halfway house of just banner and then nothing else. That doesn't sound very useful. -- Keir