From: Joerg Roedel Date: Fri, 10 Sep 2010 15:30:46 +0000 (+0200) Subject: KVM: MMU: Track page fault data in struct vcpu X-Git-Tag: v2.6.37-rc1~142^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8df25a328a6ca3bd0f048278f4d5ae0a1f6fadc1;p=pandora-kernel.git KVM: MMU: Track page fault data in struct vcpu This patch introduces a struct with two new fields in vcpu_arch for x86: * fault.address * fault.error_code This will be used to correctly propagate page faults back into the guest when we could have either an ordinary page fault or a nested page fault. In the case of a nested page fault the fault-address is different from the original address that should be walked. So we need to keep track about the real fault-address. Signed-off-by: Joerg Roedel Signed-off-by: Avi Kivity --- Reading git-diff-tree failed