[libvirt] [PATCH] bhyve: chase cpuCompareXML rename

Roman Bogorodskiy bogorodskiy at gmail.com
Thu Sep 29 05:23:54 UTC 2016


In commit 7f127de cpuCompareXML was renamed to virCPUCompareXML,
so change the bhyve driver to use the new function and thus
fix the build.
---
Pushed under the build-breaker rule.

 src/bhyve/bhyve_driver.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bhyve/bhyve_driver.c b/src/bhyve/bhyve_driver.c
index 51b6301..49b9e1a 100644
--- a/src/bhyve/bhyve_driver.c
+++ b/src/bhyve/bhyve_driver.c
@@ -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:
-- 
2.7.4




More information about the libvir-list mailing list