From 75dedf391affe4ace608ac0bde91f3c8e2cbde12 Mon Sep 17 00:00:00 2001 From: Joe Julian Date: Mon, 24 Oct 2016 12:36:56 -0700 Subject: [PATCH] virt: don't set emulator path Remove the implicit emulator path from the domain definition. Libvirt is already configured to use the correct emulator for kvm or qemu and specifying it creates distro dependence. Fixes #85 --- resources/virt.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/resources/virt.go b/resources/virt.go index e52df68f..d8330a4f 100644 --- a/resources/virt.go +++ b/resources/virt.go @@ -525,9 +525,6 @@ func (obj *VirtRes) getDomainXML() string { b += fmt.Sprintf("") b += fmt.Sprintf("") // start devices - // TODO: use capabilities to determine emulator - //b += "/usr/bin/kvm-spice" // TODO: ? - b += "/usr/bin/qemu-kvm" if obj.Disk != nil { for i, disk := range obj.Disk {