Of course this will be used only in case we don't need the
memory-backend-file backend, so it should not fire until later.
Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
src/qemu/qemu_command.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 17e5cfd71702..321a5e931350 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -8132,6 +8132,10 @@ qemuBuildNumaArgStr(virQEMUDriverConfigPtr cfg,
}
}
+ if (!needBackend &&
+ qemuBuildMemPathStr(cfg, def, qemuCaps, cmd) < 0)
+ goto cleanup;
+
for (i = 0; i < ncells; i++) {
VIR_FREE(cpumask);
if (!(cpumask = virBitmapFormat(virDomainNumaGetNodeCpumask(def->numa, i))))
--
2.6.0