]> git.proxmox.com Git - qemu.git/commit - include/hw/pci/pci.h
pci.c: Add opaque argument to pci_for_each_device.
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 21 Jun 2012 15:35:28 +0000 (15:35 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 21 Jun 2012 16:06:10 +0000 (16:06 +0000)
commit7aa8cbb9211a7c93d37b79502915df5757d2fb17
tree4e4c9e06052c27fe46550d4060a706652ab0c669
parent396af688fcac4495d4805f319c6d05930db63fb4
pci.c: Add opaque argument to pci_for_each_device.

The purpose is to have a more generic pci_for_each_device by passing an extra
argument to the function called on every device.

This patch will be used in a next patch.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
hw/pci.c
hw/pci.h
hw/xen_platform.c