From patchwork Tue Mar 23 16:53:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Tosatti X-Patchwork-Id: 87701 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2NGtQHR012936 for ; Tue, 23 Mar 2010 16:55:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752670Ab0CWQzK (ORCPT ); Tue, 23 Mar 2010 12:55:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48412 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752122Ab0CWQzH (ORCPT ); Tue, 23 Mar 2010 12:55:07 -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 o2NGt5DW020946 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 23 Mar 2010 12:55:06 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2NGt5Bp013384; Tue, 23 Mar 2010 12:55:05 -0400 Received: from amt.cnet (vpn-10-84.rdu.redhat.com [10.11.10.84]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o2NGt3Q5032021; Tue, 23 Mar 2010 12:55:04 -0400 Received: from amt.cnet (amt.cnet [127.0.0.1]) by amt.cnet (Postfix) with ESMTP id 7ABD1652093; Tue, 23 Mar 2010 13:54:07 -0300 (BRT) Received: (from marcelo@localhost) by amt.cnet (8.14.3/8.14.3/Submit) id o2NGs68l019925; Tue, 23 Mar 2010 13:54:06 -0300 Message-Id: <20100323165347.494060332@amt.cnet> User-Agent: quilt/0.47-1 Date: Tue, 23 Mar 2010 13:53:38 -0300 From: Marcelo Tosatti To: kvm@vger.kernel.org Cc: Marcelo Tosatti Subject: [patch 5/6] qemu-kvm: remove unused qemu_kvm_get_dirty_pages References: <20100323165333.062022913@amt.cnet> Content-Disposition: inline; filename=qemukvm-remove-get-dirty-pages X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 23 Mar 2010 16:55:26 +0000 (UTC) Index: qemu-kvm-cleanups/qemu-kvm.c =================================================================== --- qemu-kvm-cleanups.orig/qemu-kvm.c +++ qemu-kvm-cleanups/qemu-kvm.c @@ -2349,11 +2349,6 @@ int kvm_set_irq(int irq, int level, int #endif -int qemu_kvm_get_dirty_pages(unsigned long phys_addr, void *buf) -{ - return kvm_get_dirty_pages(kvm_context, phys_addr, buf); -} - void kvm_mutex_unlock(void) { assert(!cpu_single_env); Index: qemu-kvm-cleanups/qemu-kvm.h =================================================================== --- qemu-kvm-cleanups.orig/qemu-kvm.h +++ qemu-kvm-cleanups/qemu-kvm.h @@ -874,8 +874,6 @@ void qemu_kvm_notify_work(void); void kvm_tpr_access_report(CPUState *env, uint64_t rip, int is_write); -int qemu_kvm_get_dirty_pages(unsigned long phys_addr, void *buf); - int kvm_arch_init_irq_routing(void); int kvm_mmio_read(void *opaque, uint64_t addr, uint8_t * data, int len);