From c0354e75089858ec5b6c981101a7db26770f8ccf Mon Sep 17 00:00:00 2001 From: Edison Su Date: Wed, 12 Jan 2011 13:54:39 -0800 Subject: [PATCH] bug 7938: The path of qemu is hardcoded as /usr/libexec/qemu-kvm in libvirtd under RHEL6. While, we use the different path, /usr/libexec/cloud-qemu-kvm(which build by ourself to support snapshot), then some of the feature just doesn't work, such as attaching disk.... Rebuild the package for RHEL6 status 7938: resolved fixed --- cloud.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cloud.spec b/cloud.spec index 931b2b1d1fb..03e6228744d 100644 --- a/cloud.spec +++ b/cloud.spec @@ -218,14 +218,19 @@ Requires: jpackage-utils Requires: %{name}-daemonize Requires: /sbin/service Requires: /sbin/chkconfig + +%if 0%{?rhel} >= 6 +Requires: cloud-kvm +%else Requires: kvm +%endif + %if 0%{?fedora} >= 12 Requires: qemu-cloud-system-x86 Requires: qemu-cloud-img %endif %if 0%{?rhel} >= 6 -Requires: cloud-qemu-kvm Requires: cloud-qemu-img %endif