From patchwork Sun Sep 13 08:30:10 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gleb Natapov X-Patchwork-Id: 47135 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8D8USZn018114 for ; Sun, 13 Sep 2009 08:30:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751632AbZIMIaV (ORCPT ); Sun, 13 Sep 2009 04:30:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751563AbZIMIaN (ORCPT ); Sun, 13 Sep 2009 04:30:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:2691 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750940AbZIMIaL (ORCPT ); Sun, 13 Sep 2009 04:30:11 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8D8UE5O001601 for ; Sun, 13 Sep 2009 04:30:15 -0400 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8D8UD0j028113; Sun, 13 Sep 2009 04:30:14 -0400 Received: by dhcp-1-237.tlv.redhat.com (Postfix, from userid 13519) id 1483918D467; Sun, 13 Sep 2009 11:30:13 +0300 (IDT) From: Gleb Natapov To: avi@redhat.com Cc: kvm@vger.kernel.org Subject: [PATCH 1/4] Remove unused function. Date: Sun, 13 Sep 2009 11:30:10 +0300 Message-Id: <1252830613-2185-1-git-send-email-gleb@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org kvm_arch_update_regs_for_sipi() is not used anymore. Signed-off-by: Gleb Natapov --- qemu-kvm-ia64.c | 4 ---- qemu-kvm-x86.c | 10 ---------- qemu-kvm.h | 1 - 3 files changed, 0 insertions(+), 15 deletions(-) diff --git a/qemu-kvm-ia64.c b/qemu-kvm-ia64.c index 062fbd4..d26c2a9 100644 --- a/qemu-kvm-ia64.c +++ b/qemu-kvm-ia64.c @@ -55,10 +55,6 @@ int kvm_arch_try_push_interrupts(void *opaque) return 1; } -void kvm_arch_update_regs_for_sipi(CPUState *env) -{ -} - int kvm_arch_insert_sw_breakpoint(CPUState *current_env, struct kvm_sw_breakpoint *bp) { diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c index f80d82b..ee678df 100644 --- a/qemu-kvm-x86.c +++ b/qemu-kvm-x86.c @@ -1436,16 +1436,6 @@ void kvm_arch_push_nmi(void *opaque) } #endif /* KVM_CAP_USER_NMI */ -void kvm_arch_update_regs_for_sipi(CPUState *env) -{ - SegmentCache cs = env->segs[R_CS]; - - kvm_arch_save_regs(env); - env->segs[R_CS] = cs; - env->eip = 0; - kvm_arch_load_regs(env); -} - void kvm_arch_cpu_reset(CPUState *env) { kvm_arch_load_regs(env); diff --git a/qemu-kvm.h b/qemu-kvm.h index 11350f7..e79095d 100644 --- a/qemu-kvm.h +++ b/qemu-kvm.h @@ -1010,7 +1010,6 @@ int kvm_arch_has_work(CPUState *env); void kvm_arch_process_irqchip_events(CPUState *env); int kvm_arch_try_push_interrupts(void *opaque); void kvm_arch_push_nmi(void *opaque); -void kvm_arch_update_regs_for_sipi(CPUState *env); void kvm_arch_cpu_reset(CPUState *env); int kvm_set_boot_cpu_id(uint32_t id);