From patchwork Wed Feb 15 09:22:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yonit Halperin X-Patchwork-Id: 141280 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D2F1AB6FA1 for ; Wed, 15 Feb 2012 20:21:34 +1100 (EST) Received: from localhost ([::1]:51031 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxb3K-0001qU-7z for incoming@patchwork.ozlabs.org; Wed, 15 Feb 2012 04:21:30 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxb38-0001es-NR for qemu-devel@nongnu.org; Wed, 15 Feb 2012 04:21:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rxb32-0005B7-Jj for qemu-devel@nongnu.org; Wed, 15 Feb 2012 04:21:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:17041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxb32-0005At-Bw for qemu-devel@nongnu.org; Wed, 15 Feb 2012 04:21:12 -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 q1F9LB0A010729 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 15 Feb 2012 04:21:11 -0500 Received: from dhcp-0-9.tlv.redhat.com (dhcp-4-73.tlv.redhat.com [10.35.4.73]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q1F9L5LR030137; Wed, 15 Feb 2012 04:21:09 -0500 From: Yonit Halperin To: qemu-devel@nongnu.org, spice-devel@freedesktop.org Date: Wed, 15 Feb 2012 11:22:16 +0200 Message-Id: <1329297736-3049-2-git-send-email-yhalperi@redhat.com> In-Reply-To: <1329297736-3049-1-git-send-email-yhalperi@redhat.com> References: <1329297736-3049-1-git-send-email-yhalperi@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: Yonit Halperin , kraxel@redhat.com Subject: [Qemu-devel] [PATCH v2 2/2] qxl: make sure primary surface is saved on migration also in compat mode X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org RHBZ #790083 Signed-off-by: Yonit Halperin --- hw/qxl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index df55de1..10137f9 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -1470,7 +1470,7 @@ static void qxl_dirty_surfaces(PCIQXLDevice *qxl) intptr_t vram_start; int i; - if (qxl->mode != QXL_MODE_NATIVE) { + if (qxl->mode != QXL_MODE_NATIVE && qxl->mode != QXL_MODE_COMPAT) { return; }