commit | 8d5cf1610da526c3c1286bd7b3ac9f35f96ed43d | [log] [tgz] |
---|---|---|
author | Bandan Das <bsd@redhat.com> | Tue Jul 12 18:18:48 2016 -0400 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jul 14 09:02:46 2016 +0200 |
tree | a6451ae6fb09cb3661db7db118aeed87d4e61de8 | |
parent | 6d5315b3a60cc9b136b86b4dafeb73bf272d24c0 [diff] |
kvm: mmu: extend the is_present check to 32 bits This is safe because this function is called on host controlled page table and non-present/non-MMIO sptes never use bits 1..31. For the EPT case, this ensures that cases where only the execute bit is set is marked valid. Signed-off-by: Bandan Das <bsd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>