diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index d470b1b3367b5e017b839b3df8ac6d5e0c2f6e22..65864d2a44f1fb0138bad8f19e43ae58648d5806 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -6594,7 +6594,7 @@ qemuBuildNumaArgStr(virQEMUDriverConfigPtr cfg, continue; } - if (def->cpu && def->cpu->ncells) { + if (def->cpu->ncells) { /* Fortunately, we allow only guest NUMA nodes to be continuous * starting from zero. */ pos = def->cpu->ncells - 1;