From: Marcelo Tosatti Subject: Re: [PATCH 0/5] Fixes for mmu access unit test Date: Wed, 28 Apr 2010 20:22:37 -0300 Message-ID: <20100428232237.GB30191@amt.cnet> References: <1272469678-10728-1-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:30759 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932917Ab0D3RQc (ORCPT ); Fri, 30 Apr 2010 13:16:32 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3T9clXY010825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 29 Apr 2010 05:38:47 -0400 Content-Disposition: inline In-Reply-To: <1272469678-10728-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Apr 28, 2010 at 06:47:53PM +0300, Avi Kivity wrote: > The mmu access unit test fails when testing real processor (e.g. with npt or > ept). In one case this was because the test was too restrictive (more than > one result is allowed) and in another both the test and kvm shadow mmu are > faulty. > > This patchset fixes the test. Another patch will follow fixing kvm (but only > after nnpt is merged). > > Avi Kivity (5): > test: access: split off test case formatting from execution > test: access: consolidate test failure reporting into a function > test: access: report successful tests optionally > test: access: allow the processor not to set pde.a if a fault occurs > test: access: don't expect fetch fault indication if !efer.nx > > kvm/user/test/x86/access.c | 106 ++++++++++++++++++++++++++++++++------------ Applied, thanks.