KVM: Fix guest sysenter on vmx
authorAvi Kivity <avi@qumranet.com>
Tue, 6 Mar 2007 10:05:53 +0000 (12:05 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 18 Mar 2007 08:49:06 +0000 (10:49 +0200)
The vmx code currently treats the guest's sysenter support msrs as 32-bit
values, which breaks 32-bit compat mode userspace on 64-bit guests.  Fix by
using the native word width of the machine.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/vmx.c

Simple merge