From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Te407-00042g-LA for qemu-devel@nongnu.org; Thu, 29 Nov 2012 08:18:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Te406-00056i-HE for qemu-devel@nongnu.org; Thu, 29 Nov 2012 08:17:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Te406-00056c-9H for qemu-devel@nongnu.org; Thu, 29 Nov 2012 08:17:58 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qATDHvAC029108 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 29 Nov 2012 08:17:57 -0500 From: Gerd Hoffmann Date: Thu, 29 Nov 2012 14:17:56 +0100 Message-Id: <1354195076-8063-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1354195076-8063-1-git-send-email-kraxel@redhat.com> References: <1354195076-8063-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 1/1] qxl: reload memslots after migration, when qxl is in UNDEFINED mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Yonit Halperin , Gerd Hoffmann From: Yonit Halperin The devram memslot stays active when qxl enters UNDEFINED mode (i.e, no primary surface). If migration has occurred while the device is in UNDEFINED stae, the memslots have to be reloaded at the destination. Fixes rhbz#874574 Signed-off-by: Yonit Halperin Signed-off-by: Gerd Hoffmann --- hw/qxl.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index 1bc2d32..96887c4 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -2146,6 +2146,7 @@ static int qxl_post_load(void *opaque, int version) switch (newmode) { case QXL_MODE_UNDEFINED: + qxl_create_memslots(d); break; case QXL_MODE_VGA: qxl_create_memslots(d); -- 1.7.1