From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [nvmx testing, linux on linux] Disabling EPT in L1 renders L2 stuck on boot Date: Fri, 4 Oct 2013 16:08:17 +0300 Message-ID: <20131004130817.GB12257@redhat.com> References: <20131004093859.GF31244@redhat.com> <20131004130550.GA12257@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "kvm@vger.kernel.org" To: Kashyap Chamarthy Return-path: Received: from mx1.redhat.com ([209.132.183.28]:28694 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752754Ab3JDNIU (ORCPT ); Fri, 4 Oct 2013 09:08:20 -0400 Content-Disposition: inline In-Reply-To: <20131004130550.GA12257@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Oct 04, 2013 at 04:05:50PM +0300, Gleb Natapov wrote: > On Fri, Oct 04, 2013 at 06:03:33PM +0530, Kashyap Chamarthy wrote: > > On Fri, Oct 4, 2013 at 3:09 PM, Gleb Natapov wrote: > > > On Fri, Oct 04, 2013 at 03:03:17PM +0530, Kashyap Chamarthy wrote: > > >> Discussed with Gleb on IRC: I'll have to try with kvm.git > > > > I just compiled kernel from kvm.git queue on both L0 and L1. > > > > For completeness' sake, this how I did: > > > > $ git describe > > for-linus-12017-g8a3c1a33 > > $ git log | head -1 > > commit 8a3c1a33476f6bfebd07954e2277dbc88003bd37 > > > > $ git branch -d test_ept1 origin/queue > > $ make -j6 && make bzImage && make modules > > $ sudo make modules_install && make install > > > > (Rebooted both L0 and L1 into the new kernel) > > > > > and a simple > > >> qemu-kvm command line. > > >> > > > And try to disable shadow vmcs on the host just to rule it out. > > > > $ cat /sys/module/kvm_intel/parameters/enable_shadow_vmcs > > N > > > > The above didn't have any effect. > > > > No, booting L2 is still stuck. > > > > Not sure what's broken (if at all) here. Gleb, you mentioned you were > > able to test the MMU combination 'shadow on EPT' just fine with an F19 > > liveCD without libvirt in-place. If you have still have that test > > environment, can you please post your qemu-kvm command line? > > > Something as basic as "qemu -m 2G -cdrom /path/to/image -cpu host > And Live CD I use is XFCE based, not sure if it matters. -- Gleb.