Skip to contentSkip to conversation

Quieten the hypervisor

DISCUSSION Tom Hibbert 2 participants 3 messages Apr 19, 2006

lore
Share & tools
lore
#0 lore raw

Hi all

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

Thanks

Tom

#1 lore raw
Quoted 6 lines

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?

Thanks in advance

Tom

#2 lore raw
Quoted 7 lines · Tom Hibbert
Quoted 6 lines

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

Quoted 5 lines

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