mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
qemu: Use maximum guest memory size when getting NUMA placement advice
When starting the VM the guest balloon driver is not loaded at that time. We need to ask numad for placement of the complete VM.
This commit is contained in:
parent
0bdefd9b04
commit
f8e2da01be
@ -3684,7 +3684,7 @@ int qemuProcessStart(virConnectPtr conn,
|
||||
(vm->def->numatune.memory.placement_mode ==
|
||||
VIR_NUMA_TUNE_MEM_PLACEMENT_MODE_AUTO)) {
|
||||
nodeset = virNumaGetAutoPlacementAdvice(vm->def->vcpus,
|
||||
vm->def->mem.cur_balloon);
|
||||
vm->def->mem.max_balloon);
|
||||
if (!nodeset)
|
||||
goto cleanup;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user