diff options
author | 2015-07-02 16:23:22 +1000 | |
---|---|---|
committer | 2015-07-07 17:44:53 +0200 | |
commit | 16b0ea1d852873cf17630133d86df6a68e23f38c (patch) | |
tree | 8d02aa3490f4f5e171b0d4559b0acae6ce2e2c37 /qga/commands-posix.c | |
parent | spapr_pci: enumerate and add PCI device tree (diff) | |
download | qemu-16b0ea1d852873cf17630133d86df6a68e23f38c.tar.xz qemu-16b0ea1d852873cf17630133d86df6a68e23f38c.zip |
spapr_pci: populate ibm,loc-code
Each hardware instance has a platform unique location code. The OF
device tree that describes a part of a hardware entity must include
the “ibm,loc-code” property with a value that represents the location
code for that hardware entity.
Populate ibm,loc-code.
1) PCI passthru devices need to identify with its own ibm,loc-code
available on the host. In failure cases use:
vfio_<name>:<phb-index>:<bus>:<slot>.<fn>
2) Emulated devices encode as following:
qemu_<name>:<phb-index>:<bus>:<slot>.<fn>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'qga/commands-posix.c')
0 files changed, 0 insertions, 0 deletions