]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: fix incorrect return of spte
authorZhao Jin <cronozhj@gmail.com>
Mon, 19 Sep 2011 04:19:51 +0000 (12:19 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:13:25 +0000 (19:13 +0300)
commit1a71fabe746703c85d1e27e6e2f922dc023b81fc
tree43f66f314c1461710db968e7e820d382d094d453
parent9701d8b65fc73f741e45ae39ba4c3769c6d2e062
KVM: MMU: fix incorrect return of spte

__update_clear_spte_slow should return original spte while the
current code returns low half of original spte combined with high
half of new spte.

Signed-off-by: Zhao Jin <cronozhj@gmail.com>
Reviewed-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/mmu.c