From patchwork Wed Dec 2 11:36:45 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 40002 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 A048DB7B68 for ; Wed, 2 Dec 2009 23:28:08 +1100 (EST) Received: from localhost ([127.0.0.1]:40975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFoJR-00039q-LT for incoming@patchwork.ozlabs.org; Wed, 02 Dec 2009 07:28:05 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFnWl-0005x9-Iu for qemu-devel@nongnu.org; Wed, 02 Dec 2009 06:37:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFnWf-0005t6-Q7 for qemu-devel@nongnu.org; Wed, 02 Dec 2009 06:37:46 -0500 Received: from [199.232.76.173] (port=50866 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFnWf-0005sl-Az for qemu-devel@nongnu.org; Wed, 02 Dec 2009 06:37:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:27192) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NFnWe-0002CS-OD for qemu-devel@nongnu.org; Wed, 02 Dec 2009 06:37:41 -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.13.8/8.13.8) with ESMTP id nB2Bbdw5015547 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 2 Dec 2009 06:37:40 -0500 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nB2BbPrg004274; Wed, 2 Dec 2009 06:37:38 -0500 From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 2 Dec 2009 12:36:45 +0100 Message-Id: <2659006172c45495923d7a50a8d60c43a41299b4.1259753146.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 11/12] qdev: enable vmstate_unregister() support 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 Now vmstate_unregister have the right type Signed-off-by: Juan Quintela --- hw/qdev.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index d19d531..e9d76d4 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -296,10 +296,8 @@ void qdev_free(DeviceState *dev) bus = QLIST_FIRST(&dev->child_bus); qbus_free(bus); } -#if 0 /* FIXME: need sane vmstate_unregister function */ if (dev->info->vmsd) vmstate_unregister(dev->info->vmsd, dev); -#endif if (dev->info->exit) dev->info->exit(dev); if (dev->opts)