Commit b398aa31 authored by Orit Wasserman's avatar Orit Wasserman Committed by Greg Kroah-Hartman
Browse files

KVM: VMX: Fix KVM_SET_SREGS with big real mode segments



(cherry picked from commit b246dd5d)

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: default avatarOrit Wasserman <owasserm@rehdat.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7b2aa2a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment