From patchwork Wed Oct 14 17:34:56 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 36006 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A8ED4B7043 for ; Thu, 15 Oct 2009 04:47:37 +1100 (EST) Received: from localhost ([127.0.0.1]:47587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My7wk-0003oJ-Tl for incoming@patchwork.ozlabs.org; Wed, 14 Oct 2009 13:47:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My7lM-0002M7-Oz for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:35:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My7lG-0002HP-Gx for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:35:47 -0400 Received: from [199.232.76.173] (port=55245 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My7lG-0002HK-2s for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:35:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:21630) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1My7lF-0008Mr-Me for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:35:41 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9EHZeE9011072 for ; Wed, 14 Oct 2009 13:35:41 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9EHZXFq001016; Wed, 14 Oct 2009 13:35:39 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 14 Oct 2009 19:34:56 +0200 Message-Id: <279fc2160b3681eba2a6f88c811683ec50a01c01.1255541443.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 05/16] vga: port vga-isa to vmstate X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Juan Quintela --- hw/vga-isa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/vga-isa.c b/hw/vga-isa.c index 7fa31d3..801121a 100644 --- a/hw/vga-isa.c +++ b/hw/vga-isa.c @@ -36,7 +36,7 @@ int isa_vga_init(void) vga_common_init(s, VGA_RAM_SIZE); vga_init(s); - register_savevm("vga", 0, 2, vga_common_save, vga_common_load, s); + vmstate_register(0, &vmstate_vga_common, s); s->ds = graphic_console_init(s->update, s->invalidate, s->screen_dump, s->text_update, s);