summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIgor Mammedov2020-02-19 17:09:49 +0100
committerPatchew Importer2020-02-19 17:50:02 +0100
commit8b38de9f62cfc3d8d6f946c47e8afb6138539517 (patch)
treee93fb3a5c14e28211857f257af1c6614ac4b3393 /include
parentexec: drop bogus mem_path from qemu_ram_alloc_from_fd() (diff)
downloadqemu-8b38de9f62cfc3d8d6f946c47e8afb6138539517.tar.gz
qemu-8b38de9f62cfc3d8d6f946c47e8afb6138539517.tar.xz
qemu-8b38de9f62cfc3d8d6f946c47e8afb6138539517.zip
make mem_path local variable
It's no longer used anywhere beside main(), so make it local variable that is used for CLI compat purposes to keep -mem-path option working. Under hood QEMU will use it to create memory-backend-file,mem-path=... backend and use its MemoryRegion as main RAM. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200219160953.13771-76-imammedo@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sysemu/sysemu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index c0678c1ca3..ae78b2a122 100644
--- a/include/sysemu/sysemu.h
+++ b/include/sysemu/sysemu.h
@@ -50,7 +50,6 @@ extern uint8_t *boot_splash_filedata;
extern bool enable_mlock;
extern bool enable_cpu_pm;
extern QEMUClockType rtc_clock;
-extern const char *mem_path;
extern int mem_prealloc;
#define MAX_OPTION_ROMS 16