mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
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>
This commit is contained in:
parent
c001c3b3d9
commit
8b38de9f62
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue