KVM: x86: add SMM to the MMU role, support SMRAM address space
[firefly-linux-kernel-4.4.55.git] / Documentation / virtual / kvm / mmu.txt
index c59bd9bc41efa984cfd5f0e17ac5fd6156acfca6..3a4d681c3e981863ce2b30e8919cb16b9004d962 100644 (file)
@@ -173,6 +173,12 @@ Shadow pages contain the following information:
     Contains the value of cr4.smap && !cr0.wp for which the page is valid
     (pages for which this is true are different from other pages; see the
     treatment of cr0.wp=0 below).
+  role.smm:
+    Is 1 if the page is valid in system management mode.  This field
+    determines which of the kvm_memslots array was used to build this
+    shadow page; it is also used to go back from a struct kvm_mmu_page
+    to a memslot, through the kvm_memslots_for_spte_role macro and
+    __gfn_to_memslot.
   gfn:
     Either the guest page table containing the translations shadowed by this
     page, or the base page frame for linear translations.  See role.direct.