diff options
| author | Yi Min Zhao | 2016-05-12 08:27:25 +0200 |
|---|---|---|
| committer | Cornelia Huck | 2016-07-11 09:48:05 +0200 |
| commit | 06a96dae11a70f3c519a706639e200a635a2cc55 (patch) | |
| tree | 5520790bcb58454902c3907d07f0dc4291e58402 /include/hw | |
| parent | s390x/pci: unify FH_ macros (diff) | |
| download | qemu-06a96dae11a70f3c519a706639e200a635a2cc55.tar.gz qemu-06a96dae11a70f3c519a706639e200a635a2cc55.tar.xz qemu-06a96dae11a70f3c519a706639e200a635a2cc55.zip | |
s390x/pci: refactor s390_pci_find_dev_by_fh
Because this function is called very frequently, we should use a more
effective way to find the zpci device. So we use the FH's index to get
the device directly.
Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'include/hw')
0 files changed, 0 insertions, 0 deletions
