kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Rick Koshi <kvm@more-right-rudder.com>
Cc: kvm@vger.kernel.org
Subject: Re: Building vgabios-stdvga.bin
Date: Tue, 20 Dec 2011 08:46:22 +0100	[thread overview]
Message-ID: <4EF03D4E.6090804@redhat.com> (raw)
In-Reply-To: <201112191806.pBJI6rqn009014@hope.more-right-rudder.com>

  Hi,

> I noticed that there's a directory, kvm/vgabios, in the distribution
> which appears to have source code for the relevant targets.  Indeed,
> one of the source files there, vbetables-gen.c, seems to be the one
> I need to modify to add my new display resolutions.  Great.
> So naturally, I tried to run a make there, but it wanted to use bcc.

Thats the one qemu is using.  Also available from
    http://git.qemu.org/?p=vgabios.git;a=summary

> With this questionable version of dev86, I went back to the kvm/vgabios
> directory and tried to build there again.  Much to my surprise, it
> actually ran, and built 4 variants on VGABIOS-lgpl-latest.bin...
> Cool, says I, now what do I do with these?  I did the only thing
> I could think of, and installed VGA-lgpl-latest.bin as

Almost correct.  You need VGABIOS-lgpl-latest.stdvga.bin

> Of course, what this thing really needs is a way for us to configure,
> at runtime, the available resolutions.  I have no idea how hard that
> would be, but we're obviously not there now.

There is some work in progress to put the vgabios included in
seabios.git into better shape, which hopefully gives us a vgabios which
does (a) does not require dev86 to build and (b) is almost completely c
code not assembler and thus much easier to hack.

There is a communication channel between seabios & qemu already
(fw_cfg), that could be used by vgabios too to get non-standard screen
resolutions configured at runtime.

cheers,
  Gerd


  reply	other threads:[~2011-12-20  7:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-19 18:06 Building vgabios-stdvga.bin Rick Koshi
2011-12-20  7:46 ` Gerd Hoffmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-12-20 15:00 building vgabios-stdvga.bin Rick Koshi
2011-12-20 15:37 ` Gerd Hoffmann

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=4EF03D4E.6090804@redhat.com \
    --to=kraxel@redhat.com \
    --cc=kvm@more-right-rudder.com \
    --cc=kvm@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).