]> xenbits.xensource.com Git - libvirt.git/commit
qemu_hotplug: Temporarily allow emulator thread to access other NUMA nodes during...
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 22 May 2023 13:55:10 +0000 (15:55 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 23 May 2023 15:21:16 +0000 (17:21 +0200)
commite53291514c1615da70806732e3897d2c2ebeb1fd
tree19a41a448eb8cd2b88705e35d23cbaa671e4e705
parent3ec6d586bc3ec7a8cf406b1b6363e87d50aa159c
qemu_hotplug: Temporarily allow emulator thread to access other NUMA nodes during mem hotplug

Again, this fixes the same problem as one of previous commits,
but this time for memory hotplug. Long story short, if there's a
domain running and the emulator thread is restricted to a subset
of host NUMA nodes, but the memory that's about to be hotplugged
requires memory from a host NUMA node that's not in the set we
need to allow emulator thread to access the node, temporarily.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_hotplug.c
src/qemu/qemu_process.c
src/qemu/qemu_process.h