qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: WanPeng Li <liwp@linux.vnet.ibm.com>
To: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] questions about pci
Date: Sun, 4 Mar 2012 20:33:40 +0800	[thread overview]
Message-ID: <20120304123140.GA1760@liwp@linux.vnet.ibm.com> (raw)

Hi all:

I read pci code in qemu about i440fx, pci.c and so on. I think if guest
os whose mainboard is based on x86, it will use IO instructions to
access PCI configuration space.If not use passthrough, qemu should
emulate these operations.I find a function called kvm_handle_io who will
emulate ioport write/read, I have traced this function, but I haven't found it has
any relationship with pci read/write configuration space functions like
i440fx_write_config and piix3_write_config.So how does it emulate pci
configuration space access when not use passthrough?


thanks 
Wanpeng Li

LTC China, IBM

             reply	other threads:[~2012-03-04 12:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-04 12:33 WanPeng Li [this message]
2012-03-06 10:10 ` [Qemu-devel] questions about pci 陳韋任
     [not found]   ` <20120307114708.GA2404@liwp@linux.vnet.ibm.com>
2012-03-08  2:50     ` 陳韋任

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=20120304123140.GA1760@liwp@linux.vnet.ibm.com \
    --to=liwp@linux.vnet.ibm.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).