aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/kvm_host.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 4915b7c8f2ec..1b3eb8a0a1bc 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -286,9 +286,22 @@ struct kvm_vcpu_arch {
286 u64 ia32_misc_enable_msr; 286 u64 ia32_misc_enable_msr;
287 bool tpr_access_reporting; 287 bool tpr_access_reporting;
288 288
289 /*
290 * Paging state of the vcpu
291 *
292 * If the vcpu runs in guest mode with two level paging this still saves
293 * the paging mode of the l1 guest. This context is always used to
294 * handle faults.
295 */
289 struct kvm_mmu mmu; 296 struct kvm_mmu mmu;
290 297
291 /* 298 /*
299 * Pointer to the mmu context currently used for
300 * gva_to_gpa translations.
301 */
302 struct kvm_mmu *walk_mmu;
303
304 /*
292 * This struct is filled with the necessary information to propagate a 305 * This struct is filled with the necessary information to propagate a
293 * page fault into the guest 306 * page fault into the guest
294 */ 307 */