aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2013-07-05 19:07:16 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-07-09 13:38:56 -0500
commit154bb106dc195b4fbb76df0452ab6e3e24e80d72 (patch)
treece5ae98d82d45a66473eb8179e9694bcf3c3031a
parent92304bf3998cedcf3b1026a795edba7e1fd17c74 (diff)
exec: Remove unused global variable phys_ram_fd
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>
-rw-r--r--exec.c1
-rw-r--r--include/exec/cpu-all.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/exec.c b/exec.c
index 03fdf7e730..485d81100f 100644
--- a/exec.c
+++ b/exec.c
@@ -53,7 +53,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 35bdf858f2..e791c05c4d 100644
--- a/include/exec/cpu-all.h
+++ b/include/exec/cpu-all.h
@@ -447,7 +447,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 */