From patchwork Tue Mar 23 16:53:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Tosatti X-Patchwork-Id: 87696 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 o2NGtB1R012858 for ; Tue, 23 Mar 2010 16:55:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752662Ab0CWQzJ (ORCPT ); Tue, 23 Mar 2010 12:55:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47647 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751774Ab0CWQzG (ORCPT ); Tue, 23 Mar 2010 12:55:06 -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 o2NGt5nq023131 (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-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2NGt5aY018540; 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 o2NGt34t032024; 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 A1786652089; Tue, 23 Mar 2010 13:54:04 -0300 (BRT) Received: (from marcelo@localhost) by amt.cnet (8.14.3/8.14.3/Submit) id o2NGs38l019922; Tue, 23 Mar 2010 13:54:03 -0300 Message-Id: <20100323165347.116789147@amt.cnet> User-Agent: quilt/0.47-1 Date: Tue, 23 Mar 2010 13:53:36 -0300 From: Marcelo Tosatti To: kvm@vger.kernel.org Cc: Marcelo Tosatti Subject: [patch 3/6] remove unused bios_mem variable References: <20100323165333.062022913@amt.cnet> Content-Disposition: inline; filename=remove-bios-mem 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 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:12 +0000 (UTC) Index: qemu-kvm-cleanups/cpu-all.h =================================================================== --- qemu-kvm-cleanups.orig/cpu-all.h +++ qemu-kvm-cleanups/cpu-all.h @@ -846,7 +846,6 @@ extern int phys_ram_fd; extern uint8_t *phys_ram_dirty; extern ram_addr_t ram_size; extern ram_addr_t last_ram_offset; -extern uint8_t *bios_mem; extern const char *mem_path; extern int mem_prealloc; Index: qemu-kvm-cleanups/exec.c =================================================================== --- qemu-kvm-cleanups.orig/exec.c +++ qemu-kvm-cleanups/exec.c @@ -120,7 +120,6 @@ uint8_t *code_gen_ptr; #if !defined(CONFIG_USER_ONLY) int phys_ram_fd; uint8_t *phys_ram_dirty; -uint8_t *bios_mem; static int in_migration; typedef struct RAMBlock {