From patchwork Wed Oct 14 17:34:57 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 36005 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 AC0DDB7B72 for ; Thu, 15 Oct 2009 04:45:42 +1100 (EST) Received: from localhost ([127.0.0.1]:46523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My7uu-0001j0-1f for incoming@patchwork.ozlabs.org; Wed, 14 Oct 2009 13:45:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My7lM-0002M4-Jx 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 1My7lH-0002IP-Oi for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:35:47 -0400 Received: from [199.232.76.173] (port=55246 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My7lH-0002IJ-K6 for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:35:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4060) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1My7lH-0008N9-7I for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:35:43 -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 n9EHZgt9011482 for ; Wed, 14 Oct 2009 13:35:42 -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 n9EHZXFr001016; Wed, 14 Oct 2009 13:35:41 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 14 Oct 2009 19:34:57 +0200 Message-Id: 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 06/16] vga: port vmware std vga 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/vmware_vga.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index a273f35..101d8ae 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -1131,7 +1131,7 @@ static void vmsvga_init(struct vmsvga_state_s *s, int vga_ram_size) #ifdef EMBED_STDVGA vga_common_init(&s->vga, vga_ram_size); vga_init(&s->vga); - register_savevm("vga", 0, 2, vga_common_save, vga_common_load, &s->vga); + vmstate_register(0, &vmstate_vga_common, &s->vga); #else s->vram_size = vga_ram_size; s->vram_offset = qemu_ram_alloc(vga_ram_size);