]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
bhyve: chase cpuCompareXML rename
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 29 Sep 2016 05:10:33 +0000 (08:10 +0300)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 29 Sep 2016 05:22:27 +0000 (08:22 +0300)
In commit 7f127de cpuCompareXML was renamed to virCPUCompareXML,
so change the bhyve driver to use the new function and thus
fix the build.

src/bhyve/bhyve_driver.c

index 51b6301de603144aafd688121d24cbef66251620..49b9e1a60626e334005eaa98b63f910af7b5bec1 100644 (file)
@@ -1436,7 +1436,8 @@ bhyveConnectCompareCPU(virConnectPtr conn,
             ret = VIR_CPU_COMPARE_INCOMPATIBLE;
         }
     } else {
-        ret = cpuCompareXML(caps->host.cpu, xmlDesc, failIncompatible);
+        ret = virCPUCompareXML(caps->host.arch, caps->host.cpu,
+                               xmlDesc, failIncompatible);
     }
 
  cleanup: