qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [BUG?] Duplicate PCI setup?
Date: Sun, 24 Sep 2006 20:09:48 +0100	[thread overview]
Message-ID: <200609242009.51974.paul@codesourcery.com> (raw)
In-Reply-To: <4516D3D5.8030004@mail.berlios.de>

On Sunday 24 September 2006 19:52, Stefan Weil wrote:
> When I start QEMU for i386 with an emulated PCI network card,
> this card's PCI memory space is setup twice:
> once by QEMU, a second time from BIOS.
>
> PCI I/O regions both times get the same address:
> ne2000_map: region=0, addr=0x0000c100, size=0x00000100, type=1
> ne2000_map: region=0, addr=0x0000c100, size=0x00000100, type=1
>
> PCI memory regions get two different addresses.

So? Why is this a problem?
PCI is designed to allow dynamic resource (re-)configuration.

> Maybe the setup by QEMU was needed with an earlier PC BIOS
> and is no longer needed today?

From hw/piix_pci.c

/*
 * This function initializes the PCI devices as a normal PCI BIOS
 * would do. It is provided just in case the BIOS has no support for
 * PCI.
 */

Paul

  reply	other threads:[~2006-09-24 19:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-16 19:47 [Qemu-devel] More PCI ethernet emulations Stefan Weil
2006-09-24 18:52 ` [Qemu-devel] [BUG?] Duplicate PCI setup? Stefan Weil
2006-09-24 19:09   ` Paul Brook [this message]
2006-09-24 19:47     ` Stefan Weil
2006-11-19 20:43 ` [Qemu-devel] More PCI ethernet emulations Stefan Weil
2006-11-25 14:46 ` Stefan Weil
2006-12-03 11:59 ` Stefan Weil
2007-02-27 18:47 ` Stefan Weil

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=200609242009.51974.paul@codesourcery.com \
    --to=paul@codesourcery.com \
    --cc=qemu-devel@nongnu.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).