From d8978c90f950a7ea58a2cab6d3157dbcfcce2e3e Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 9 May 2012 17:55:31 -0600 Subject: [PATCH] qemu: fix build when !HAVE_NUMACTL Commit 97010eb1f forgot to change the other side of an #ifdef. * src/qemu/qemu_process.c (qemuProcessInitNumaMemoryPolicy): Add argument. (cherry picked from commit 5c650b98ced19bcb344a20011f4923a9626331e9) --- src/qemu/qemu_process.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index 27fefbaab1..0a616784c5 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -1740,7 +1740,8 @@ cleanup: } #else static int -qemuProcessInitNumaMemoryPolicy(virDomainObjPtr vm) +qemuProcessInitNumaMemoryPolicy(virDomainObjPtr vm, + const char *nodemask ATTRIBUTE_UNUSED) { if (vm->def->numatune.memory.nodemask) { qemuReportError(VIR_ERR_INTERNAL_ERROR, "%s",