From: Stefan Hajnoczi Subject: Re: kvm is not used in guset os Date: Wed, 19 Dec 2012 12:59:59 +0100 Message-ID: <20121219115959.GB6498@stefanha-thinkpad.redhat.com> References: <1355889808.1859.9.camel@gnollwood> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, "harrison.liu" To: Rozen Lin Return-path: Received: from mail-wi0-f174.google.com ([209.85.212.174]:36246 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751451Ab2LSMAE (ORCPT ); Wed, 19 Dec 2012 07:00:04 -0500 Received: by mail-wi0-f174.google.com with SMTP id hm9so3469908wib.7 for ; Wed, 19 Dec 2012 04:00:01 -0800 (PST) Content-Disposition: inline In-Reply-To: <1355889808.1859.9.camel@gnollwood> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Dec 19, 2012 at 12:03:28PM +0800, Rozen Lin wrote: > Hi, All, > Currently when using kvm from qemu-kvm-1.1.0, I found sometimes after > doing the restart within the guest OS(winxp), the guest machine becomes > extremely slow and the computer info shows the CPU is 'QEMU virtual CPU' > and its frequency is rather low(nearly <350M Hz and changed after each > restart). > Then on this host the guest CPU will never return to normal Hz, even I > did a reinstall of qemu-kvm there, if I use '-cpu host' to force use the > host CPU, the VM crashed and got bluescreen, besides, the lsmod and > kvm-ok shows the kvm mod is all fine and usable and no warning/failure > in qemu-kvm running to indicate why the CPU is not same as host CPU. > As we know, normally, the Qemu CPU in Guest OS is of the same Hz as > the host machine CPU and the guest machine is running quickly when using > '-enable-kvm' in kvm cmdline. > Would you please share us that has anyone of you met this before, and > how to fix/resolve this? Thanks in advance! Please try QEMU 1.3 instead of qemu-kvm to see if the issue has been fixed since qemu-kvm-1.1.0. At the QEMU monitor you can use the "info kvm" command to verify that the KVM kernel module is being used. Stefan