From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1E3W-00049B-Kf for qemu-devel@nongnu.org; Mon, 22 Jul 2013 07:13:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1E3V-00032D-5k for qemu-devel@nongnu.org; Mon, 22 Jul 2013 07:13:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1E3U-000329-Uj for qemu-devel@nongnu.org; Mon, 22 Jul 2013 07:13:29 -0400 From: Orit Wasserman Date: Mon, 22 Jul 2013 14:14:12 +0300 Message-Id: <1374491654-21257-1-git-send-email-owasserm@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] Fix real mode guest live migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, ehabkost@redhat.com, gleb@redhat.com, quintela@redhat.com, mtosatti@redhat.com, Orit Wasserman , pbonzini@redhat.com, afaerber@suse.de 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