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)
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>

No differences found