diff options
author | Alexey Kardashevskiy | 2016-07-27 10:03:38 +0200 |
---|---|---|
committer | David Gibson | 2016-09-23 04:39:07 +0200 |
commit | 4814401fa01271235df2ac60fafc831bd3d624f3 (patch) | |
tree | f18532b50535097ad5b8fcfd379e28d30408900a /include/hw/pci-host/spapr.h | |
parent | monitor: fix crash for platforms without a CPU 0 (diff) | |
download | qemu-4814401fa01271235df2ac60fafc831bd3d624f3.tar.gz qemu-4814401fa01271235df2ac60fafc831bd3d624f3.tar.xz qemu-4814401fa01271235df2ac60fafc831bd3d624f3.zip |
spapr_pci: Add numa node id
This adds a numa id property to a PHB to allow linking passed PCI device
to CPU/memory. It is up to the management stack to do CPU/memory pinning
to the node with the actual PCI device.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
[dwg: Renamed property from "node" to "numa_node" to match the similar
one in the pxb device]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/pci-host/spapr.h')
-rw-r--r-- | include/hw/pci-host/spapr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/pci-host/spapr.h b/include/hw/pci-host/spapr.h index 1a2b11b322..30dbd461d4 100644 --- a/include/hw/pci-host/spapr.h +++ b/include/hw/pci-host/spapr.h @@ -75,6 +75,8 @@ struct sPAPRPHBState { bool ddw_enabled; uint64_t page_size_mask; uint64_t dma64_win_addr; + + uint32_t numa_node; }; #define SPAPR_PCI_MAX_INDEX 255 |