Bug 866774 - when executing "virsh define foo.xml" it attempts to execute /usr/libexec/qemu-kvm, it should run /usr/bin/qemu-kvm
Summary: when executing "virsh define foo.xml" it attempts to execute /usr/libexec/qem...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 17
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-16 06:19 UTC by Kurt Seifried
Modified: 2012-10-27 17:15 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-27 17:15:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kurt Seifried 2012-10-16 06:19:21 UTC
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 Berrangé 2012-10-16 09:35:22 UTC
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 17:15:50 UTC
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.