]> git.proxmox.com Git - mirror_qemu.git/blame - include/sysemu/numa.h
numa: Rename set_numa_modes() to numa_post_machine_init()
[mirror_qemu.git] / include / sysemu / numa.h
CommitLineData
e35704ba
EH
1#ifndef SYSEMU_NUMA_H
2#define SYSEMU_NUMA_H
3
4#include <stdint.h>
5#include "qemu/bitmap.h"
6#include "qemu/option.h"
7#include "sysemu/sysemu.h"
8#include "sysemu/hostmem.h"
9
10extern int nb_numa_nodes; /* Number of NUMA nodes */
e35704ba
EH
11
12typedef struct node_info {
13 uint64_t node_mem;
14 DECLARE_BITMAP(node_cpu, MAX_CPUMASK_BITS);
15 struct HostMemoryBackend *node_memdev;
16 bool present;
17} NodeInfo;
18extern NodeInfo numa_info[MAX_NODES];
1c1e6732 19void parse_numa_opts(void);
dde11116 20void numa_post_machine_init(void);
e35704ba
EH
21void query_numa_node_mem(uint64_t node_mem[]);
22extern QemuOptsList qemu_numa_opts;
e35704ba
EH
23
24#endif