]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Fix typo in qemuBuilNumaCellCache
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 15 Sep 2021 13:47:16 +0000 (15:47 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 16 Sep 2021 06:45:48 +0000 (08:45 +0200)
The function should be named qemuBuildNumaCellCache (note the
missing 'd' in Build).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_command.c

index 4d29313f45addfed9b16748a4522109e914a2053..73868ab4b731813354d4fe27d0af53c15057910e 100644 (file)
@@ -7281,9 +7281,9 @@ qemuBuildIOThreadCommandLine(virCommand *cmd,
 
 
 static int
-qemuBuilNumaCellCache(virCommand *cmd,
-                      const virDomainDef *def,
-                      size_t cell)
+qemuBuildNumaCellCache(virCommand *cmd,
+                       const virDomainDef *def,
+                       size_t cell)
 {
     size_t ncaches = virDomainNumaGetNodeCacheCount(def->numa, cell);
     size_t i;
@@ -7540,7 +7540,7 @@ qemuBuildNumaCommandLine(virQEMUDriverConfig *cfg,
         /* This can't be moved into any of the loops above,
          * because hmat-cache can be specified only after hmat-lb. */
         for (i = 0; i < ncells; i++) {
-            if (qemuBuilNumaCellCache(cmd, def, i) < 0)
+            if (qemuBuildNumaCellCache(cmd, def, i) < 0)
                 goto cleanup;
         }
     }