From patchwork Thu Oct 22 18:50:08 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 36741 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 5B888B7BB7 for ; Fri, 23 Oct 2009 05:57:00 +1100 (EST) Received: from localhost ([127.0.0.1]:50713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N12qG-00067J-HZ for incoming@patchwork.ozlabs.org; Thu, 22 Oct 2009 14:56:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N12jw-00073q-30 for qemu-devel@nongnu.org; Thu, 22 Oct 2009 14:50:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N12jr-0006ty-8m for qemu-devel@nongnu.org; Thu, 22 Oct 2009 14:50:23 -0400 Received: from [199.232.76.173] (port=38614 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N12jr-0006tm-4S for qemu-devel@nongnu.org; Thu, 22 Oct 2009 14:50:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46240) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N12jq-000746-UJ for qemu-devel@nongnu.org; Thu, 22 Oct 2009 14:50:19 -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 n9MIoHpL030488 for ; Thu, 22 Oct 2009 14:50:18 -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 n9MIoBDX017095; Thu, 22 Oct 2009 14:50:16 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Thu, 22 Oct 2009 20:50:08 +0200 Message-Id: <6df518fa7db95ad0222a1dac12a23ea587885ed6.1256236480.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 3/3] eepro100: Use VMSTATE_MACADDR 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/eepro100.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/eepro100.c b/hw/eepro100.c index 07805b1..ab505bf 100644 --- a/hw/eepro100.c +++ b/hw/eepro100.c @@ -1612,7 +1612,7 @@ static const VMStateDescription vmstate_eepro100 = { VMSTATE_UINT8(scb_stat, EEPRO100State), VMSTATE_UINT8(int_stat, EEPRO100State), VMSTATE_UNUSED(3*4), - VMSTATE_BUFFER(conf.macaddr, EEPRO100State), + VMSTATE_MACADDR(conf.macaddr, EEPRO100State), VMSTATE_UNUSED(19*4), VMSTATE_UINT16_ARRAY(mdimem, EEPRO100State, 32), /* The eeprom should be saved and restored by its own routines. */