RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 817562 - virsh create fails to find qemu-kvm
Summary: virsh create fails to find qemu-kvm
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Gunannan Ren
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-30 13:51 UTC by Alejandro Bonilla
Modified: 2012-06-04 14:16 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-04 14:16:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alejandro Bonilla 2012-04-30 13:51:09 UTC
virsh create fails to find qemu-kvm unless a symlink is done from
/usr/libexec/qemu-kvm to /usr/bin/qemu-kvm

Is virsh looking on the wrong place or qemu-kvm missing/lost from /usr/bin/ ?

[root@sombrerorojo ~]# virsh create /virtual1/kvm/images/SLES11/SLES11.orig.xml 
error: Failed to create domain from /virtual1/kvm/images/SLES11/SLES11.orig.xml
error: Cannot find QEMU binary /usr/bin/qemu-kvm: No such file or directory

[root@sombrerorojo SLES11]# yum info qemu-kvm
Loaded plugins: refresh-packagekit
Installed Packages
Name        : qemu-kvm
Arch        : x86_64
Epoch       : 2
Version     : 0.12.1.2
Release     : 2.209.el6_2.4
Size        : 3.9 M
Repo        : installed
From repo   : smt
Summary     : Userspace component of KVM
URL         : http://www.linux-kvm.org
License     : GPLv2+ and LGPLv2+ and BSD
Description : KVM (for Kernel-based Virtual Machine) is a full virtualization
solution
            : for Linux on x86 hardware.
            : 
            : Using KVM, one can run multiple virtual machines running
unmodified Linux
            : or Windows images. Each virtual machine has private virtualized
hardware:
            : a network card, disk, graphics adapter, etc.


[root@sombrerorojo ~]# yum info libvirt-client
Loaded plugins: refresh-packagekit
Installed Packages
Name        : libvirt-client
Arch        : x86_64
Version     : 0.9.4
Release     : 23.el6_2.7
Size        : 11 M
Repo        : installed
From repo   : smt
Summary     : Client side library and utilities of the libvirt library
URL         : http://libvirt.org/
License     : LGPLv2+
Description : Shared libraries and client binaries needed to access to the
            : virtualization capabilities of recent versions of Linux (and
other OSes).

Comment 2 Ademar Reis 2012-04-30 17:41:10 UTC
qemu-kvm moved from /usr/bin to /usr/libexec a long time ago, in the release of RHEL-6.0.0, check  bug 560651.

Maybe virsh is missing something.

Comment 5 Dave Allan 2012-05-15 15:07:37 UTC
Alejandro, can you attach the domain XML and the output of virsh capabilities?

Comment 7 Dave Allan 2012-06-04 14:16:51 UTC
Since we can't reproduce this behavior and we don't have the domain XML, I'm closing as INSUFFICIENT DATA.  Please reopen if you can provide the domain XML.


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