]> git.proxmox.com Git - mirror_qemu.git/commit
pci: introduce a helper function to convert qdev id to PCIDevice
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 24 Dec 2010 03:14:13 +0000 (12:14 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 24 Dec 2010 08:35:30 +0000 (10:35 +0200)
commitf3006dd1e60af3765c501a082d621f947d6e5974
tree3b42c8ec696f6d6763f7e139b0de502c9ac4f6f5
parenta2ee6b4fcb3e2f2f5d60211ce0f734c61f8e0e30
pci: introduce a helper function to convert qdev id to PCIDevice

This patch introduce a helper function to get PCIDevice from qdev id.
This function will be used later.

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