Quieten the hypervisor
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
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
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.cand 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