From patchwork Thu Jun 28 19:22:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 167940 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 290A6B6FFF for ; Fri, 29 Jun 2012 05:22:42 +1000 (EST) Received: from localhost ([::1]:60038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkKIZ-0007MB-Um for incoming@patchwork.ozlabs.org; Thu, 28 Jun 2012 15:22:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkKIG-0007A8-Mw for qemu-devel@nongnu.org; Thu, 28 Jun 2012 15:22:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SkKIF-0002tx-50 for qemu-devel@nongnu.org; Thu, 28 Jun 2012 15:22:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkKIE-0002td-TL for qemu-devel@nongnu.org; Thu, 28 Jun 2012 15:22:19 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q5SJMHlo031154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 28 Jun 2012 15:22:17 -0400 Received: from trasno.mitica (ovpn-116-23.ams2.redhat.com [10.36.116.23]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q5SJMB7r000894; Thu, 28 Jun 2012 15:22:16 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Thu, 28 Jun 2012 21:22:01 +0200 Message-Id: <704b60a0d2b32fbf6bf229b115082c2b929a4731.1340910651.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: owasserm@redhat.com Subject: [Qemu-devel] [PATCH 03/12] savevm: remove SaveSetParamsHandler 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 It was used only once, just unfold. Signed-off-by: Juan Quintela Reviewed-by: Orit Wasserman --- vmstate.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vmstate.h b/vmstate.h index 4bce53b..5e1a7cc 100644 --- a/vmstate.h +++ b/vmstate.h @@ -26,13 +26,12 @@ #ifndef QEMU_VMSTATE_H #define QEMU_VMSTATE_H 1 -typedef void SaveSetParamsHandler(const MigrationParams *params, void * opaque); typedef void SaveStateHandler(QEMUFile *f, void *opaque); typedef int SaveLiveStateHandler(QEMUFile *f, int stage, void *opaque); typedef int LoadStateHandler(QEMUFile *f, void *opaque, int version_id); typedef struct SaveVMHandlers { - SaveSetParamsHandler *set_params; + void (*set_params)(const MigrationParams *params, void * opaque); SaveStateHandler *save_state; SaveLiveStateHandler *save_live_state; LoadStateHandler *load_state;