All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@amd.com>
To: the uni <uni.the@gmail.com>
Cc: kvm <kvm@vger.kernel.org>
Subject: Re: Fast/Quiet Boot
Date: Sun, 1 Feb 2009 23:26:04 +0100	[thread overview]
Message-ID: <4986217C.6090909@amd.com> (raw)
In-Reply-To: <e623f0a40902011059p4faca9afv4eab76c3de13da57@mail.gmail.com>

the uni wrote:
> Heavy finger, disregard last message...
> 
> I've been testing the new Moblin distro from linux, and it boots
> incredibly quickly (~7 secs to desktop in KVM)
> 
> One irritation is that the bios takes up roughly half of that time.
> I've managed to throw in a few ifdefs into the bios/vgabios to
> get the screen cleared and the prompts to go away so that the first
> thing that you see after KVM is launched is an xfce desktop.
> 
> This is a vast improvement in my opinion, but obviously one that's not
> always wanted/needed.
> 
> It makes sense to me that if a --boot or --kernel parameter is given,
> that the "press f12 for boot menu..." should not be shown.
> Moreover, I think it makes sense to show no bios messages at all if
> --kernel is given. This improves boot time by ~3 secs
> on my machine, meaning I get a moblin xfce desktop in ~4 secs.
> 
> So here's my question: Is it posible to send a parameter to the bios?
> I'd like to change the bios operation for the 2 parameters above, but
> haven't found a way to do it.
Are you looking for the firmware configuration interface?
Look at bios/rombios32.c for functions qemu_cfg_* and constants 
QEMU_CFG_* for the BIOS side of the game and qemu/hw/fw_cfg.[ch] for the 
QEMU interface side (functions here are prefixed with fw_cfg_). So 
define a new channel and send your data over. Be sure to consider 
qemu-devel if you want to send patches.

Hope that helps,
Andre.

-- 
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 277-4917
----to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Jochen Polster; Thomas M. McCoy; Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632


  reply	other threads:[~2009-02-01 22:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-01 18:57 Fast/Quiet Boot the uni
2009-02-01 18:59 ` the uni
2009-02-01 22:26   ` Andre Przywara [this message]
2009-02-04  1:53   ` the uni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4986217C.6090909@amd.com \
    --to=andre.przywara@amd.com \
    --cc=kvm@vger.kernel.org \
    --cc=uni.the@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.