From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [PATCH v6 00/15] Nested EPT Date: Sun, 4 Aug 2013 12:32:06 +0300 Message-ID: <20130804093205.GJ6042@redhat.com> References: <1375366117-9014-1-git-send-email-gleb@redhat.com> <51FE1DD9.80904@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, Xiao Guangrong , Jun Nakajima , Yang Zhang , pbonzini@redhat.com To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:7230 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752446Ab3HDJdL (ORCPT ); Sun, 4 Aug 2013 05:33:11 -0400 Content-Disposition: inline In-Reply-To: <51FE1DD9.80904@web.de> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Aug 04, 2013 at 11:24:41AM +0200, Jan Kiszka wrote: > On 2013-08-01 16:08, Gleb Natapov wrote: > > Another day -- another version of the nested EPT patches. In this version > > included fix for need_remote_flush() with shadowed ept, set bits 6:8 > > of exit_qualification during ept_violation, update_permission_bitmask() > > made to work with shadowed ept pages and other small adjustment according > > to review comments. > > Was just testing it here and ran into a bug: I've L2 accessing the HPET > MMIO region that my L1 passed through from L0 (where it is supposed to > be emulated in this setup). This used to work with an older posting of Not sure I understand your setup. L0 emulates HPET, L1 passes it through to L2 (mmaps it and creates kvm slot that points to it) and when L2 accessed it it locks up? > Jun, but now it locks up (infinite loop over L2's MMIO access, no L2->L1 > transition). Any ideas where to look for debugging this? > Can you do an ftrace -e kvm -e kvmmmu? Unit test will also be helpful :) -- Gleb.