summaryrefslogtreecommitdiffstats
path: root/nbd/common.c
diff options
context:
space:
mode:
authorDaniel Henrique Barboza2021-01-28 18:42:12 +0100
committerDavid Gibson2021-02-10 00:43:50 +0100
commit6640706972c50aac4f620d7385d4e228a118e289 (patch)
tree3476fe9141e5c816d47b12814b4bd7e81786c0ac /nbd/common.c
parentspapr: move spapr_machine_using_legacy_numa() to spapr_numa.c (diff)
downloadqemu-6640706972c50aac4f620d7385d4e228a118e289.tar.gz
qemu-6640706972c50aac4f620d7385d4e228a118e289.tar.xz
qemu-6640706972c50aac4f620d7385d4e228a118e289.zip
spapr_numa.c: create spapr_numa_initial_nvgpu_numa_id() helper
We'll need to check the initial value given to spapr->gpu_numa_id when building the rtas DT, so put it in a helper for easier access and to avoid repetition. Tested-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Message-Id: <20210128174213.1349181-3-danielhb413@gmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'nbd/common.c')
0 files changed, 0 insertions, 0 deletions