| From a3180e79422e20d704e8a65643bbfac002142cf8 Mon Sep 17 00:00:00 2001 |
| From: Juan Quintela <quintela@redhat.com> |
| Date: Tue, 14 Jan 2014 15:07:41 +0100 |
| Subject: [PATCH 30/40] exec: Remove unused global variable phys_ram_fd |
| MIME-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| RH-Author: Juan Quintela <quintela@redhat.com> |
| Message-id: <1389712071-23303-31-git-send-email-quintela@redhat.com> |
| Patchwork-id: 56686 |
| O-Subject: [RHEL7 qemu-kvm PATCH 30/40] exec: Remove unused global variable phys_ram_fd |
| Bugzilla: 997559 |
| RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com> |
| RH-Acked-by: Orit Wasserman <owasserm@redhat.com> |
| RH-Acked-by: Dr. David Alan Gilbert (git) <dgilbert@redhat.com> |
| |
| From: Stefan Weil <sw@weilnetz.de> |
| |
| It seems to be unused since several years (commit |
| be995c27640a82c7056b6f53d02ec823570114e5 in 2006). |
| |
| Signed-off-by: Stefan Weil <sw@weilnetz.de> |
| Reviewed-by: Andreas Färber <afaerber@suse.de> |
| Message-id: 1373044036-14443-1-git-send-email-sw@weilnetz.de |
| Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> |
| (cherry picked from commit 154bb106dc195b4fbb76df0452ab6e3e24e80d72) |
| Signed-off-by: Juan Quintela <quintela@trasno.org> |
| |
| exec.c | 1 - |
| include/exec/cpu-all.h | 1 - |
| 2 files changed, 2 deletions(-) |
| |
| Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com> |
| |
| exec.c | 1 - |
| include/exec/cpu-all.h | 1 - |
| 2 files changed, 0 insertions(+), 2 deletions(-) |
| |
| diff --git a/exec.c b/exec.c |
| index 79ea3b2..443de79 100644 |
| |
| |
| @@ -55,7 +55,6 @@ |
| //#define DEBUG_SUBPAGE |
| |
| #if !defined(CONFIG_USER_ONLY) |
| -int phys_ram_fd; |
| static int in_migration; |
| |
| RAMList ram_list = { .blocks = QTAILQ_HEAD_INITIALIZER(ram_list.blocks) }; |
| diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h |
| index 9c85c1c..b88e56e 100644 |
| |
| |
| @@ -460,7 +460,6 @@ hwaddr cpu_get_phys_page_debug(CPUArchState *env, target_ulong addr); |
| |
| /* memory API */ |
| |
| -extern int phys_ram_fd; |
| extern ram_addr_t ram_size; |
| |
| /* RAM is pre-allocated and passed into qemu_ram_alloc_from_ptr */ |
| -- |
| 1.7.1 |
| |