From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:34180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwIxr-0002Iq-Qz for qemu-devel@nongnu.org; Wed, 24 Aug 2011 15:18:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwIxq-0006JL-Pr for qemu-devel@nongnu.org; Wed, 24 Aug 2011 15:18:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwIxq-0006JG-Ik for qemu-devel@nongnu.org; Wed, 24 Aug 2011 15:18:14 -0400 Message-ID: <4E554E5A.8050902@redhat.com> Date: Wed, 24 Aug 2011 22:17:46 +0300 From: Avi Kivity MIME-Version: 1.0 References: <1314137806-5747-1-git-send-email-agraf@suse.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] KVM: Add wrapper script around Qemu to test kernels List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: "kvm@vger.kernel.org list" , qemu-devel Developers , "linux-kernel@vger.kernel.org List" , Alexander Graf , Pekka Enberg , Linus Torvalds On 08/24/2011 08:40 PM, Blue Swirl wrote: > > + > > + # Qemu's own build system calls it qemu-system-x86_64 > > + [ "$QEMU_BIN" ] || QEMU_BIN=$(which qemu-system-x86_64 2>/dev/null) > > If you run qemu-system-x86_64 on an i386 host, will it use kvm at all? I think it will, and that's actually a bug, since kvm doesn't support virtualizing long mode on a 32-bit host. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.