qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Isaku Yamahata <yamahata@valinux.co.jp>
Cc: info@vruppert.de, "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] vgabios + qemu: issues and plans.
Date: Thu, 06 May 2010 13:08:41 +0200	[thread overview]
Message-ID: <4BE2A339.5000108@redhat.com> (raw)
In-Reply-To: <20100506100337.GA12064@valinux.co.jp>

>> First, I'd like to be able to load the vgabios via PCI ROM bar on all
>> pci vga cards (stdvga, vmware, soon qxl).  The PCI ID in the bios has to
>> match the PCI ID of the card, so we'll need a bunch of vga bios
>> binaries, all identical except for the PCI ID.  Or we need some kind of
>> binary patching.  Otherwise seabios will not load them from the PCI ROM
>> bar.
>
> Make vga bios aware of all ids?

Would work for the code doing the lfb address lookup.  But I don't think 
the PCI option rom header allows multiple entries.

> I also want to eliminate the magic number.
> Boch vga bios is paravirtualized to get VBE address dynamically via a new
> pci device with special pci device of device id 0x1234.

0x1234 happens to be the vendor id the qemu stdvga has.  Probably the 
same is true for bochs.  So this code actually looks up the emulated vga 
card ;)

> Are you meaning to follow bochs way?

Yes.

cheers,
   Gerd

  reply	other threads:[~2010-05-06 11:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-05 13:38 [Qemu-devel] vgabios + qemu: issues and plans Gerd Hoffmann
2010-05-05 19:56 ` [Qemu-devel] " Sebastian Herbszt
2010-05-06  9:35   ` Gerd Hoffmann
2010-05-06 18:09     ` Sebastian Herbszt
2010-05-06 19:37       ` Gerd Hoffmann
2010-05-06 20:19         ` Sebastian Herbszt
2010-05-06 20:27           ` Gerd Hoffmann
2010-05-06 10:03 ` [Qemu-devel] " Isaku Yamahata
2010-05-06 11:08   ` Gerd Hoffmann [this message]
2010-05-06 18:23     ` [Qemu-devel] " Sebastian Herbszt

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=4BE2A339.5000108@redhat.com \
    --to=kraxel@redhat.com \
    --cc=info@vruppert.de \
    --cc=qemu-devel@nongnu.org \
    --cc=yamahata@valinux.co.jp \
    /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).