From: Avi Kivity Date: Mon, 29 Nov 2010 14:12:30 +0000 (+0200) Subject: KVM: Pull extra page fault information into struct x86_exception X-Git-Tag: v2.6.38-rc1~244^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6389ee946303cb4313dba0a49865e495a53351ff;p=pandora-kernel.git KVM: Pull extra page fault information into struct x86_exception 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: Joerg Roedel Tested-by: Gleb Natapov Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed