Bug 866774

Summary: when executing "virsh define foo.xml" it attempts to execute /usr/libexec/qemu-kvm, it should run /usr/bin/qemu-kvm
Product: [Fedora] Fedora Reporter: Kurt Seifried <kseifried>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 17CC: berrange, clalancette, crobinso, itamar, jforbes, jyang, laine, libvirt-maint, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-27 13:15:50 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Kurt Seifried 2012-10-16 02:19:21 EDT
Description of problem:

when executing "virsh define foo.xml" it attempts to execute /usr/libexec/qemu-kvm, it should run /usr/bin/qemu-kvm

Version-Release number of selected component (if applicable):

Fedora 17
virsh: libvirt-client-0.9.11.6-1.fc17.x86_64
qemu-kvm: qemu-system-x86-1.0.1-2.fc17.x86_64

How reproducible:

always

Steps to Reproduce:
1. run "virsh define foo.xml"
2.
3.
  
Actual results:

/usr/libexec/qemu-kvm not found

Expected results:

runs qemu-kvm

Additional info:

just symbolically link it as a workaround
Comment 1 Daniel Berrange 2012-10-16 05:35:22 EDT
Libvirt will attempt to run whatever binary path is specified in your XML, and if none is specified it will attempt to run the binary it found in $PATH or /usr/libexec (as per virsh capabilities).

What does your foo.xml contain ?
Comment 2 Cole Robinson 2012-10-27 13:15:50 EDT
I'm guessing this is just user error as implied from comment #1, presumably defining xml from a RHEL guest (which uses /usr/libexec/qemu-kvm). Closing as NOTABUG