Older KVM versions save CS dpl value to an invalid value for real mode guests (0x3). This caused migration to fail from older KVM on host without unrestricted guest to hosts with restricted guest support with "kvm: unhandled exit 80000021". For example migration from a Penryn host (with kernel 2.6.32) to a Westmere host (for real mode guest)
This series fixing it both in the destination and source QEMU. Changes from v1: Fix typos and style Orit Wasserman (2): Fix real mode guest migration Fix real mode guest segments dpl value in savevm target-i386/machine.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) -- 1.8.1.4