aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r--drivers/kvm/kvm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index 7361c45d70c9..f5e343cb06b0 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -109,6 +109,7 @@ struct kvm_pte_chain {
109 * bits 4:7 - page table level for this shadow (1-4) 109 * bits 4:7 - page table level for this shadow (1-4)
110 * bits 8:9 - page table quadrant for 2-level guests 110 * bits 8:9 - page table quadrant for 2-level guests
111 * bit 16 - "metaphysical" - gfn is not a real page (huge page/real mode) 111 * bit 16 - "metaphysical" - gfn is not a real page (huge page/real mode)
112 * bits 17:18 - "access" - the user and writable bits of a huge page pde
112 */ 113 */
113union kvm_mmu_page_role { 114union kvm_mmu_page_role {
114 unsigned word; 115 unsigned word;
@@ -118,6 +119,7 @@ union kvm_mmu_page_role {
118 unsigned quadrant : 2; 119 unsigned quadrant : 2;
119 unsigned pad_for_nice_hex_output : 6; 120 unsigned pad_for_nice_hex_output : 6;
120 unsigned metaphysical : 1; 121 unsigned metaphysical : 1;
122 unsigned hugepage_access : 2;
121 }; 123 };
122}; 124};
123 125