KVM: Be more careful restoring fs on lightweight vmexit
authorAvi Kivity <avi@qumranet.com>
Tue, 1 May 2007 08:32:28 +0000 (11:32 +0300)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:38 +0000 (12:05 +0300)
commit621358455ae043ab39bc3481f13b101bd6016c8d
tree6266ec89f457c039d94add676f1d798381efae2a
parenta25f7e1f8c1ff68213a63dada9d5e32dc1a0f587
KVM: Be more careful restoring fs on lightweight vmexit

i386 wants fs for accessing the pda even on a lightweight exit, so ensure
we can always restore it.  This fixes a regression on i386 introduced by
the lightweight vmexit patch.

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