diff options
author | Orit Wasserman <owasserm@redhat.com> | 2013-07-22 20:29:41 +0300 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2013-07-23 14:36:10 +0200 |
commit | 444ba6797ef6ef331fe9fd34309b1ec59caaede3 (patch) | |
tree | bac40f2901c66004ecda57f00c0b35a897734f3e /scripts | |
parent | ed4fbd10823a7b0dbded6b481a68973e47f7e14d (diff) |
Fix real mode guest migration
Older KVM versions save CS dpl value to an invalid value for real mode guests
(0x3). This patch detect this situation when loading CPU state and set all the
segments dpl to zero.
This will allow migration from older KVM on host without unrestricted guest
to hosts with restricted guest support.
For example migration from a Penryn host (with kernel 2.6.32) to
a Westmere host (for real mode guest) will fail with "kvm: unhandled exit 80000021".
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions