diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2010-06-30 16:03:28 +0800 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-08-01 10:47:25 +0300 |
commit | 9e7b0e7fba45ca3c6357aeb7091ebc281f1de365 (patch) | |
tree | e92144ed8d954cab432c6ccccacdc3aa2d4c645f /arch/powerpc | |
parent | 5fd5387c89ec99ff6cb82d2477ffeb7211b781c2 (diff) | |
download | kernel_samsung_tuna-9e7b0e7fba45ca3c6357aeb7091ebc281f1de365.zip kernel_samsung_tuna-9e7b0e7fba45ca3c6357aeb7091ebc281f1de365.tar.gz kernel_samsung_tuna-9e7b0e7fba45ca3c6357aeb7091ebc281f1de365.tar.bz2 |
KVM: MMU: fix direct sp's access corrupted
If the mapping is writable but the dirty flag is not set, we will find
the read-only direct sp and setup the mapping, then if the write #PF
occur, we will mark this mapping writable in the read-only direct sp,
now, other real read-only mapping will happily write it without #PF.
It may hurt guest's COW
Fixed by re-install the mapping when write #PF occur.
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions