Commit f6ae89a1 authored by Daniel P. Berrangé's avatar Daniel P. Berrangé

Call the C.virConnectBaselineHypervisorCPUCompat method

We must call our wrapper not the original libvirt API
Signed-off-by: 's avatarDaniel P. Berrangé <>
parent 0107edfd
......@@ -1974,7 +1974,7 @@ func (c *Connect) BaselineHypervisorCPU(emulator string, arch string, machine st
ret := C.virConnectBaselineHypervisorCPU(c.ptr, cemulator, carch, cmachine, cvirttype,
ret := C.virConnectBaselineHypervisorCPUCompat(c.ptr, cemulator, carch, cmachine, cvirttype,
&cxmlCPUs[0], C.uint(len(xmlCPUs)), C.uint(flags))
if ret == nil {
return "", GetLastError()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment