From patchwork Mon Jan 19 16:23:52 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Lalancette X-Patchwork-Id: 3159 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n0JGKGnf007381 for ; Mon, 19 Jan 2009 08:20:17 -0800 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752441AbZASQYo (ORCPT ); Mon, 19 Jan 2009 11:24:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752491AbZASQYo (ORCPT ); Mon, 19 Jan 2009 11:24:44 -0500 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 Message-ID: <4974A918.6020200@redhat.com> Date: Mon, 19 Jan 2009 17:23:52 +0100 From: Chris Lalancette User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: kvm@vger.kernel.org Subject: [PATCH]: Trivial qemu/configure fix X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org If kvm is *not* detected, then the qemu/configure script gets upset. Add some quotes to make it happier. Signed-off-by: Chris Lalancette 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