From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [PATCH 1/1] KVM: Pull extra page fault information into struct x86_exception Date: Tue, 30 Nov 2010 13:20:48 +0200 Message-ID: <20101130112048.GF2187@redhat.com> References: <1291039950-8418-1-git-send-email-avi@redhat.com> <1291039950-8418-2-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Marcelo Tosatti , kvm@vger.kernel.org, Joerg Roedel To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:62294 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755521Ab0K3LUv (ORCPT ); Tue, 30 Nov 2010 06:20:51 -0500 Content-Disposition: inline In-Reply-To: <1291039950-8418-2-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Nov 29, 2010 at 04:12:30PM +0200, Avi Kivity wrote: > Currently page fault cr2 and nesting infomation are carried outside > the fault data structure. Instead they are placed in the vcpu struct, > which results in confusion as global variables are manipulated instead > of passing parameters. > > Fix this issue by adding address and nested fields to struct x86_exception, > so this struct can carry all information associated with a fault. > > Signed-off-by: Avi Kivity Tested-by: Gleb Natapov -- Gleb.