From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: [PATCH 0/2] Fix walk_addr() page fault error codes Date: Tue, 6 Jul 2010 16:49:34 +0300 Message-ID: <1278424176-15310-1-git-send-email-avi@redhat.com> Cc: Marcelo Tosatti To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:48120 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751551Ab0GFNti (ORCPT ); Tue, 6 Jul 2010 09:49:38 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o66Dnb4R004844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 6 Jul 2010 09:49:38 -0400 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o66DnbLo013299 for ; Tue, 6 Jul 2010 09:49:37 -0400 Sender: kvm-owner@vger.kernel.org List-ID: This patchset fixes bugs in page fault error code generation. With the patches applied, the access.flat unit test now passes with no errors on shadow, npt, and ept. Avi Kivity (2): KVM: MMU: Only indicate a fetch fault in page fault error code if nx is enabled KVM: MMU: Keep going on permission error arch/x86/kvm/paging_tmpl.h | 52 +++++++++++++++++++++++++------------------ 1 files changed, 30 insertions(+), 22 deletions(-)