diff options
author | Xiao Guangrong <guangrong.xiao@linux.intel.com> | 2015-05-07 16:20:15 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-08 10:51:47 +0200 |
commit | ceee7df749da03fa17ab5dc7d06dffb4980a32db (patch) | |
tree | 1a909678834a1a1757f47658b2eaaffd4adb329a /fs | |
parent | a4cca3b419a5081788bb7559023159e3147f66f0 (diff) | |
download | op-kernel-dev-ceee7df749da03fa17ab5dc7d06dffb4980a32db.zip op-kernel-dev-ceee7df749da03fa17ab5dc7d06dffb4980a32db.tar.gz |
KVM: MMU: fix smap permission check
Current permission check assumes that RSVD bit in PFEC is always zero,
however, it is not true since MMIO #PF will use it to quickly identify
MMIO access
Fix it by clearing the bit if walking guest page table is needed
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions