From mboxrd@z Thu Jan 1 00:00:00 1970 From: Janusz Subject: Re: [edk2] KVM: MTRR: fix memory type handling if MTRR is completely disabled Date: Wed, 14 Oct 2015 11:16:25 +0200 Message-ID: <561E1D69.3040507@gmail.com> References: <55FBDB6D.4040207@gmail.com> <55FBE248.4010809@redhat.com> <55FC4E6F.8030104@gmail.com> <55FF7095.5060106@linux.intel.com> <55FF7C41.7070400@linux.intel.com> <560D3F31.5000703@gmail.com> <560D40C2.5080205@redhat.com> <560E96D8.9080007@gmail.com> <561DD2EC.5040800@linux.intel.com> <561E0655.8080508@gmail.com> <561E1121.7030502@linux.intel.com> <561E1329.5080109@linux.intel.com> <561E1CC8.8050403@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: edk2-devel@ml01.01.org To: Xiao Guangrong , Paolo Bonzini , Wanpeng Li , Laszlo Ersek , kvm@vger.kernel.org Return-path: Received: from mail-lf0-f46.google.com ([209.85.215.46]:36453 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751478AbbJNJQ2 (ORCPT ); Wed, 14 Oct 2015 05:16:28 -0400 Received: by lfeh64 with SMTP id h64so8090575lfe.3 for ; Wed, 14 Oct 2015 02:16:27 -0700 (PDT) In-Reply-To: <561E1CC8.8050403@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: W dniu 14.10.2015 o 11:13, Janusz pisze: > W dniu 14.10.2015 o 10:32, Xiao Guangrong pisze: >> >> On 10/14/2015 04:24 PM, Xiao Guangrong wrote: >>> >>> On 10/14/2015 03:37 PM, Janusz wrote: >>>> I was able to run my virtual machine with this, but had very high cpu >>>> usage when something happen in it like booting system. once, my virtual >>>> machine hang and I couln't even get my mouse / keyboard back from qemu. >>>> When I did vga passthrough, I didn't get any video output, and cpu >>>> usage >>>> was also high. Tried it on 4.3 >>> Which tree are you using? Is it kvm tree? >>> Could you please work on queue brancn on current kvm tree based on >>> top commit 73917739334c6509: KVM: x86: fix SMI to halted VCPU. >>> >>> Hmm... interesting, this diff works on my box... >> Forgot to say that i built my test env following the instructions on >> kvm-wiki: >> http://www.linux-kvm.org/page/OVMF >> >> My test script is attached, and i will try to build the env like yours >> as much >> as possible... > I attach my script. I see that you are using pc-i440fx-2.1 - I use > default, I think its pc-i440fx-2.4, tried 2.3 some time ago and I get > the same problem. I will try with 2.1 after work > I am using master from main kernel tree, will also try this tree you > mentioned after work I am sending this one more time, as my message was rejected by intel servers because of attached script... Script: https://bpaste.net/show/8467c3af8b18