From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Lalancette Subject: [PATCH]: Trivial qemu/configure fix Date: Mon, 19 Jan 2009 17:23:52 +0100 Message-ID: <4974A918.6020200@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090600080803010706070208" To: kvm@vger.kernel.org Return-path: Received: from mx2.redhat.com ([66.187.237.31]:54351 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752441AbZASQYn (ORCPT ); Mon, 19 Jan 2009 11:24:43 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n0JGOhIq031206 for ; Mon, 19 Jan 2009 11:24:43 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n0JGOhFd024886 for ; Mon, 19 Jan 2009 11:24:43 -0500 Received: from localhost.localdomain (vpn-12-129.rdu.redhat.com [10.11.12.129]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n0JGOgiV018715 for ; Mon, 19 Jan 2009 11:24:43 -0500 Sender: kvm-owner@vger.kernel.org List-ID: This is a multi-part message in MIME format. --------------090600080803010706070208 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit If kvm is *not* detected, then the qemu/configure script gets upset. Add some quotes to make it happier. Signed-off-by: Chris Lalancette --------------090600080803010706070208 Content-Type: text/x-patch; name="kvm-configure-fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kvm-configure-fix.patch" diff --git a/qemu/configure b/qemu/configure index ff4a462..107699a 100755 --- a/qemu/configure +++ b/qemu/configure @@ -1642,7 +1642,7 @@ disable_cpu_emulation() { } configure_kvm() { - if test $kvm = "yes" -a "$target_softmmu" = "yes" -a \ + if test "$kvm" = "yes" -a "$target_softmmu" = "yes" -a \ \( "$cpu" = "i386" -o "$cpu" = "x86_64" -o "$cpu" = "ia64" -o "$cpu" = "powerpc" \); then echo "#define USE_KVM 1" >> $config_h echo "USE_KVM=1" >> $config_mak --------------090600080803010706070208--