From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLg42-00068W-VN for qemu-devel@nongnu.org; Fri, 18 Dec 2009 11:52:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLg3y-0005yX-GO for qemu-devel@nongnu.org; Fri, 18 Dec 2009 11:52:26 -0500 Received: from [199.232.76.173] (port=49983 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLg3y-0005yE-9H for qemu-devel@nongnu.org; Fri, 18 Dec 2009 11:52:22 -0500 Received: from mail-vw0-f197.google.com ([209.85.212.197]:36824) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLg3x-0006mc-VI for qemu-devel@nongnu.org; Fri, 18 Dec 2009 11:52:22 -0500 Received: by vws35 with SMTP id 35so962164vws.4 for ; Fri, 18 Dec 2009 08:52:21 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Jun Koi Date: Sat, 19 Dec 2009 01:52:01 +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 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. Thanks, Jun