]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: VMX: Fix KVM_SET_SREGS with big real mode segments
authorOrit Wasserman <owasserm@redhat.com>
Thu, 31 May 2012 11:49:22 +0000 (14:49 +0300)
committerAvi Kivity <avi@redhat.com>
Tue, 5 Jun 2012 14:51:46 +0000 (17:51 +0300)
commitb246dd5df139501b974bd6b28f7815e53b3a792f
treef6e687822a232612d703c061a4d2cf332660c4f4
parent1952639665e92481c34c34c3e2a71bf3e66ba362
KVM: VMX: Fix KVM_SET_SREGS with big real mode segments

For example migration between Westmere and Nehelem hosts, caught in big real mode.

The code that fixes the segments for real mode guest was moved from enter_rmode
to vmx_set_segments. enter_rmode calls vmx_set_segments for each segment.

Signed-off-by: Orit Wasserman <owasserm@rehdat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c