From patchwork Fri May 4 10:54:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 156911 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 A1F18B6FD0 for ; Fri, 4 May 2012 22:52:57 +1000 (EST) Received: from localhost ([::1]:36830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQGBt-0006V4-3X for incoming@patchwork.ozlabs.org; Fri, 04 May 2012 06:56:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQGAm-0004kL-1k for qemu-devel@nongnu.org; Fri, 04 May 2012 06:55:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQGAj-0004CW-OF for qemu-devel@nongnu.org; Fri, 04 May 2012 06:55:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQGAj-0004C9-Gq for qemu-devel@nongnu.org; Fri, 04 May 2012 06:55:37 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q44Ata43007952 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 4 May 2012 06:55:36 -0400 Received: from trasno.mitica (ovpn-116-82.ams2.redhat.com [10.36.116.82]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q44At31o021362; Fri, 4 May 2012 06:55:35 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Fri, 4 May 2012 12:54:51 +0200 Message-Id: <2466415f9cf96a735fff2c21015d9b57cfad689b.1336128412.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 24/35] vmstate: all cpus converted 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 We don't have any more CPU_SAVEVM_VERSION users, neither cpu_save/load() ones. Signed-off-by: Juan Quintela --- exec.c | 5 ----- qemu-common.h | 4 ---- 2 files changed, 0 insertions(+), 9 deletions(-) diff --git a/exec.c b/exec.c index 85f0d61..1deb943 100644 --- a/exec.c +++ b/exec.c @@ -719,13 +719,8 @@ void cpu_exec_init(CPUArchState *env) #endif #if !defined(CONFIG_USER_ONLY) vmstate_register(NULL, cpu_index, &vmstate_cpu_common, env); -#if defined(CPU_SAVE_VERSION) - register_savevm(NULL, "cpu", cpu_index, CPU_SAVE_VERSION, - cpu_save, cpu_load, env); -#else vmstate_register(NULL, cpu_index, &vmstate_cpu, env); #endif -#endif } /* Allocate a new translation block. Flush the translation buffer if diff --git a/qemu-common.h b/qemu-common.h index 50f659a..4c2ebbb 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -275,10 +275,6 @@ bool tcg_enabled(void); void cpu_exec_init_all(void); -/* CPU save/load. */ -void cpu_save(QEMUFile *f, void *opaque); -int cpu_load(QEMUFile *f, void *opaque, int version_id); - /* Unblock cpu */ void qemu_cpu_kick(void *env); void qemu_cpu_kick_self(void);