From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdjHr-0004vl-4E for qemu-devel@nongnu.org; Wed, 28 Nov 2012 10:11:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdjHl-0005md-8I for qemu-devel@nongnu.org; Wed, 28 Nov 2012 10:10:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdjHk-0005mU-Th for qemu-devel@nongnu.org; Wed, 28 Nov 2012 10:10:49 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qASFAb2c023014 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 28 Nov 2012 10:10:47 -0500 From: Yonit Halperin Date: Wed, 28 Nov 2012 10:08:22 -0500 Message-Id: <1354115302-797-1-git-send-email-yhalperi@redhat.com> Subject: [Qemu-devel] [PATCH] 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 , kraxel@redhat.com 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 --- hw/qxl.c | 1 + 1 file changed, 1 insertion(+) 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.11.7