]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/x86/include/asm/kvm_host.h
KVM: MMU: introduce the framework to check zero bits on sptes
[mirror_ubuntu-artful-kernel.git] / arch / x86 / include / asm / kvm_host.h
index 847b37cbf211f0abb62c3c54d3c9c88d7625c1cf..c12e845f59e6b40c5afb62d8ecf1e08f22dce4db 100644 (file)
@@ -294,6 +294,14 @@ struct kvm_mmu {
 
        u64 *pae_root;
        u64 *lm_root;
+
+       /*
+        * check zero bits on shadow page table entries, these
+        * bits include not only hardware reserved bits but also
+        * the bits spte never used.
+        */
+       struct rsvd_bits_validate shadow_zero_check;
+
        struct rsvd_bits_validate guest_rsvd_check;
 
        /*