On Mon, Nov 29, 2010 at 09:12:30AM -0500, 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. Tested with nnpt and found no regressions. > Signed-off-by: Avi Kivity <avi@xxxxxxxxxx> Tested-by: Joerg Roedel <joerg.roedel@xxxxxxx> -- AMD Operating System Research Center Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach General Managers: Alberto Bozzo, Andrew Bowd Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html