summaryrefslogtreecommitdiffstats
path: root/savevm.c
diff options
context:
space:
mode:
authorOrit Wasserman2013-07-22 19:29:42 +0200
committerJuan Quintela2013-07-23 14:36:10 +0200
commit3e47c249b93d5cc1e0f9404dbe243682598ba8fb (patch)
treeb720e5ce3f612c46228a9c258b8efde271d72c72 /savevm.c
parentFix real mode guest migration (diff)
downloadqemu-3e47c249b93d5cc1e0f9404dbe243682598ba8fb.tar.gz
qemu-3e47c249b93d5cc1e0f9404dbe243682598ba8fb.tar.xz
qemu-3e47c249b93d5cc1e0f9404dbe243682598ba8fb.zip
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 'savevm.c')
0 files changed, 0 insertions, 0 deletions