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)
commit41bc3186b3c92a4ca05e2aa14bb6272fb491e679
tree43f66f314c1461710db968e7e820d382d094d453
parentb172e38e435a158cc84169d5b9127a8dd8d21e76
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