From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NMfAH-0000cu-0Y for qemu-devel@nongnu.org; Mon, 21 Dec 2009 05:06:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NMfAC-0000bh-AX for qemu-devel@nongnu.org; Mon, 21 Dec 2009 05:06:56 -0500 Received: from [199.232.76.173] (port=38916 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NMfAC-0000bc-3E for qemu-devel@nongnu.org; Mon, 21 Dec 2009 05:06:52 -0500 Received: from mail-px0-f189.google.com ([209.85.216.189]:39742) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NMfAB-0007Sh-LL for qemu-devel@nongnu.org; Mon, 21 Dec 2009 05:06:51 -0500 Received: by pxi27 with SMTP id 27so1808863pxi.4 for ; Mon, 21 Dec 2009 02:06:47 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Jun Koi Date: Mon, 21 Dec 2009 19:06:27 +0900 Message-ID: Subject: Re: [Qemu-devel] Re: SVM support in 0.12? Content-Type: text/plain; charset=ISO-8859-1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: "qemu-devel@nongnu.org" On Sat, Dec 19, 2009 at 2:34 AM, Alexander Graf wrote: > > Am 18.12.2009 um 17:52 schrieb Jun Koi : > >> On Fri, Dec 18, 2009 at 8:35 PM, Alexander Graf wrote: >>> >>> Am 18.12.2009 um 03:39 schrieb Jun Koi >>> >>>> On Fri, Dec 18, 2009 at 11:37 AM, Jun Koi wrote: >>>>> >>>>> Hi, >>>>> >>>>> I am running latest Qemu 0.12-rc. My guest VM runs Linux kernel 2.6.31. >>>>> >>>>> Because Qemu now supports SVM, I expect to see the SVM flag in >>>>> /proc/cpuinfo, but that is not the case. >>>>> >>>>> So it seems SVM support is not enabled by default configuration?? >>>>> >>>> >>>> My host and guest are both 32 bit Linux, if that matters. >>>> >>>> (And this is pure Qemu, without using KVM or KQemu) >>> >>> Kqemu actually works with svm emulation. >>> >>> Have you tried -cpu qemu32,+svm? I think I only enabled svm on qemu64, >>> because I'm not aware of 32-bit AMD CPUs that can do svm. >>> >>> If you use -cpu qemu32 that also means you'll get an emulated Intel CPU. >>> KVM-AMD will refuse there. >>> >>> Also, back when I developed it, 32-bit kvm didn't really work properly. >>> So >>> please let me know what you find out! >> >> I tried the latest Qemu code, with the following command: >> >> qemu -m 500 -cpu qemu32,+svm -cdrom ubuntu.iso >> >> I verified that /proc/cpuinfo has no svm flag. So SVM doesnt work on 32bit >> host. >> >> I will try that with 64bit host to see how it goes. > > The host doesn't matter. You can easily run qemu-system-x86_64 on a 32-bit > host. > I can confirm that SVM works well on x86-64 target, but fails on i386 target. Thanks, J