]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
bhyve: Fix build
authorJiri Denemark <jdenemar@redhat.com>
Thu, 19 Oct 2017 09:13:54 +0000 (11:13 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 19 Oct 2017 09:13:54 +0000 (11:13 +0200)
Commit v3.8.0-95-gfd885a06a dropped nmodels parameter from several APIs
in src/cpu/cpu.h, but failed to update all callers.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/bhyve/bhyve_driver.c

index c096b5562f7b3b46e21d688a106c3089c8630a5c..5c432b25ef2c4223c7ca4791508ab2ff80b2dc3b 100644 (file)
@@ -1433,7 +1433,7 @@ bhyveConnectBaselineCPU(virConnectPtr conn,
     if (!(cpus = virCPUDefListParse(xmlCPUs, ncpus, VIR_CPU_TYPE_HOST)))
         goto cleanup;
 
-    if (!(cpu = cpuBaseline(cpus, ncpus, NULL, 0,
+    if (!(cpu = cpuBaseline(cpus, ncpus, NULL,
                             !!(flags & VIR_CONNECT_BASELINE_CPU_MIGRATABLE))))
         goto cleanup;