qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Isaku Yamahata <yamahata@valinux.co.jp>
To: qemu-devel@nongnu.org
Cc: blauwirbel@gmail.com, yamahata@valinux.co.jp, mst@redhat.com
Subject: [Qemu-devel] [PATCH 0/2] pci: multi-function bit fixes
Date: Tue, 15 Jun 2010 14:06:44 +0900	[thread overview]
Message-ID: <cover.1276573899.git.yamahata@valinux.co.jp> (raw)

When pci devices are populated as multi-function,
OS can fail to probe function > 0. It's because multi function
bit of header type register in configuration space isn't set,
so OS probes only function 0 skipping function > 0 as optimization.

This patch set make qemu set multi function bit when function > 0
is populated.

Isaku Yamahata (2):
  pci: set PCI multi-function bit appropriately.
  pci: don't overwrite pci header type.

 hw/ac97.c         |    1 -
 hw/acpi_piix4.c   |    1 -
 hw/apb_pci.c      |    3 ++-
 hw/grackle_pci.c  |    1 -
 hw/ide/cmd646.c   |    1 -
 hw/ide/piix.c     |    1 -
 hw/macio.c        |    1 -
 hw/ne2000.c       |    1 -
 hw/openpic.c      |    1 -
 hw/pci.c          |   28 ++++++++++++++++++++++++++++
 hw/pcnet.c        |    1 -
 hw/piix4.c        |    3 +--
 hw/piix_pci.c     |    4 +---
 hw/prep_pci.c     |    1 -
 hw/rtl8139.c      |    1 -
 hw/sun4u.c        |    1 -
 hw/unin_pci.c     |    4 ----
 hw/usb-uhci.c     |    1 -
 hw/vga-pci.c      |    1 -
 hw/virtio-pci.c   |    1 -
 hw/vmware_vga.c   |    1 -
 hw/wdt_i6300esb.c |    1 -
 22 files changed, 32 insertions(+), 27 deletions(-)

             reply	other threads:[~2010-06-15  5:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-15  5:06 Isaku Yamahata [this message]
2010-06-15  5:06 ` [Qemu-devel] [PATCH 1/2] pci: set PCI multi-function bit appropriately Isaku Yamahata
2010-06-15  5:06 ` [Qemu-devel] [PATCH 2/2] pci: don't overwrite pci header type Isaku Yamahata
2010-06-15  9:12   ` [Qemu-devel] " Michael S. Tsirkin
2010-06-16  2:20     ` Isaku Yamahata
2010-06-16  8:54       ` Michael S. Tsirkin
2010-06-16  9:43         ` Isaku Yamahata
2010-06-16 11:19           ` Michael S. Tsirkin
2010-06-16 11:38             ` Isaku Yamahata
2010-06-16 12:43               ` Michael S. Tsirkin
2010-06-16 18:41         ` Blue Swirl
2010-06-16 18:51           ` Michael S. Tsirkin
2010-06-16 19:02             ` Blue Swirl
2010-06-16 19:22               ` Michael S. Tsirkin
2010-06-16 19:59                 ` Blue Swirl
2010-06-16 20:12                 ` Anthony Liguori
2010-06-15  9:42   ` [Qemu-devel] " malc

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=cover.1276573899.git.yamahata@valinux.co.jp \
    --to=yamahata@valinux.co.jp \
    --cc=blauwirbel@gmail.com \
    --cc=mst@redhat.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).