KVM: MMU: fix for calculating gpa in invlpg code
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Wed, 28 Apr 2010 03:54:44 +0000 (11:54 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 19 May 2010 08:36:25 +0000 (11:36 +0300)
commit22c9b2d166a88573a933e8d355833d36579d83be
tree76542ec35aa15097ee0a2e2acee1bf9a7454694c
parent329d20ba451b5a9fd17a4ce9471e4d335b3b8c74
KVM: MMU: fix for calculating gpa in invlpg code

If the guest is 32-bit, we should use 'quadrant' to adjust gpa
offset

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/paging_tmpl.h