exec: Remove unused global variable phys_ram_fd
It seems to be unused since several years (commit
be995c2764
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>
This commit is contained in:
parent
92304bf399
commit
154bb106dc
1
exec.c
1
exec.c
|
@ -53,7 +53,6 @@
|
||||||
//#define DEBUG_SUBPAGE
|
//#define DEBUG_SUBPAGE
|
||||||
|
|
||||||
#if !defined(CONFIG_USER_ONLY)
|
#if !defined(CONFIG_USER_ONLY)
|
||||||
int phys_ram_fd;
|
|
||||||
static int in_migration;
|
static int in_migration;
|
||||||
|
|
||||||
RAMList ram_list = { .blocks = QTAILQ_HEAD_INITIALIZER(ram_list.blocks) };
|
RAMList ram_list = { .blocks = QTAILQ_HEAD_INITIALIZER(ram_list.blocks) };
|
||||||
|
|
|
@ -447,7 +447,6 @@ hwaddr cpu_get_phys_page_debug(CPUArchState *env, target_ulong addr);
|
||||||
|
|
||||||
/* memory API */
|
/* memory API */
|
||||||
|
|
||||||
extern int phys_ram_fd;
|
|
||||||
extern ram_addr_t ram_size;
|
extern ram_addr_t ram_size;
|
||||||
|
|
||||||
/* RAM is pre-allocated and passed into qemu_ram_alloc_from_ptr */
|
/* RAM is pre-allocated and passed into qemu_ram_alloc_from_ptr */
|
||||||
|
|
Loading…
Reference in New Issue