Bug 866774 - when executing "virsh define foo.xml" it attempts to execute /usr/libexec/qemu-kvm, it should run /usr/bin/qemu-kvm
when executing "virsh define foo.xml" it attempts to execute /usr/libexec/qem...
Product: Fedora
Classification: Fedora
Component: libvirt (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Libvirt Maintainers
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-10-16 02:19 EDT by Kurt Seifried
Modified: 2012-10-27 13:15 EDT (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-10-27 13:15:50 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
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-
qemu-kvm: qemu-system-x86-1.0.1-2.fc17.x86_64

How reproducible:


Steps to Reproduce:
1. run "virsh define foo.xml"
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

Note You need to log in before you can comment on or make changes to this bug.