mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
27a83f8e7e
commit
4814401fa0
2 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue