Re: [Qemu-devel] [PATCH v5 4/4] spapr_pci: populate ibm,loc-code

2015-05-25 Thread Nikunj A Dadhania
Alexey Kardashevskiy writes: > On 05/25/2015 02:58 PM, Nikunj A Dadhania wrote: >> Alexey Kardashevskiy writes: >> >>> +} +/* + * For emulated devices and VFIO-failure case, make up + * the loc-code. + */ +buf = g_strdup_printf("%s_%s:%02d:%0

Re: [Qemu-devel] [PATCH v5 4/4] spapr_pci: populate ibm,loc-code

2015-05-25 Thread Alexey Kardashevskiy
On 05/25/2015 02:58 PM, Nikunj A Dadhania wrote: Alexey Kardashevskiy writes: On 05/19/2015 06:26 PM, Nikunj A Dadhania wrote: 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 wi

Re: [Qemu-devel] [PATCH v5 4/4] spapr_pci: populate ibm,loc-code

2015-05-24 Thread Nikunj A Dadhania
Alexey Kardashevskiy writes: > On 05/19/2015 06:26 PM, Nikunj A Dadhania wrote: >> 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 >>

Re: [Qemu-devel] [PATCH v5 4/4] spapr_pci: populate ibm,loc-code

2015-05-24 Thread Alexey Kardashevskiy
On 05/19/2015 06:26 PM, Nikunj A Dadhania wrote: 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 i

[Qemu-devel] [PATCH v5 4/4] spapr_pci: populate ibm,loc-code

2015-05-19 Thread Nikunj A Dadhania
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 ident