Commit ca4bd929 authored by Amit Shah's avatar Amit Shah Committed by Greg Kroah-Hartman
Browse files

KVM: SVM: Set the 'g' bit of the cs selector for cross-vendor migration



(cherry picked from 25022acc)

The hardware does not set the 'g' bit of the cs selector and this breaks
migration from amd hosts to intel hosts. Set this bit if the segment
limit is beyond 1 MB.

Signed-off-by: default avatarAmit Shah <amit.shah@redhat.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ff896b46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment