From: Avi Kivity Subject: [PATCH 0/5] Fixes for mmu access unit test Date: Wed, 28 Apr 2010 18:47:53 +0300 Message-ID: <1272469678-10728-1-git-send-email-avi@redhat.com> Cc: kvm@vger.kernel.org To: Marcelo Tosatti Return-path: Received: from mx1.redhat.com ([209.132.183.28]:40291 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751683Ab0D1Pr7 (ORCPT ); Wed, 28 Apr 2010 11:47:59 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3SFlxJh019356 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 28 Apr 2010 11:47:59 -0400 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3SFlwLj005812 for ; Wed, 28 Apr 2010 11:47:59 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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 ++++++++++++++++++++++++++++++++------------ 1 files changed, 77 insertions(+), 29 deletions(-)