]> git.proxmox.com Git - mirror_qemu.git/commit - hw/pci/pcie_host.c
pci: use devfn for pci_find_device() instead of (slot, fn) pair
authorIsaku Yamahata <yamahata@valinux.co.jp>
Thu, 27 Jan 2011 06:56:36 +0000 (15:56 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 28 Mar 2011 16:34:22 +0000 (18:34 +0200)
commit5256d8bfad9b0113dc2f9b57706eaad26b008987
tree8bb9ff38185905500774ea5040e5de1537e36f28
parent90a20dbb2837f5ff05a9b19659ba1aa218cbd2de
pci: use devfn for pci_find_device() instead of (slot, fn) pair

(slot, fn) pair is somewhat confusing because of ARI.
So use devfn for pci_find_device() instead of (slot, fn).

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci-hotplug.c
hw/pci.c
hw/pci.h
hw/pci_host.c
hw/pcie_host.c