summaryrefslogtreecommitdiff
path: root/target-i386/smm_helper.c
diff options
context:
space:
mode:
authorOrit Wasserman <owasserm@redhat.com>2013-07-22 20:29:42 +0300
committerJuan Quintela <quintela@redhat.com>2013-07-23 14:36:10 +0200
commit3e47c249b93d5cc1e0f9404dbe243682598ba8fb (patch)
treeb720e5ce3f612c46228a9c258b8efde271d72c72 /target-i386/smm_helper.c
parent444ba6797ef6ef331fe9fd34309b1ec59caaede3 (diff)
downloadqemu-3e47c249b93d5cc1e0f9404dbe243682598ba8fb.tar.gz
Fix real mode guest segments dpl value in savevm
Older KVM version put invalid value in the segments registers dpl field for real mode guests (0x3). This breaks migration from those hosts to hosts with unrestricted guest support. We detect it by checking CS dpl value for real mode guest and fix the dpl values of all the segment registers. 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 'target-i386/smm_helper.c')
0 files changed, 0 insertions, 0 deletions