make mem_path local variable
commit8b38de9f62cfc3d8d6f946c47e8afb6138539517
authorIgor Mammedov <imammedo@redhat.com>
Wed, 19 Feb 2020 16:09:49 +0000 (19 11:09 -0500)
committerPatchew Importer <importer@patchew.org>
Wed, 19 Feb 2020 16:50:02 +0000 (19 16:50 +0000)
treee93fb3a5c14e28211857f257af1c6614ac4b3393
parentc001c3b3d93a645d9f0e5cc3638937abc8b8f7f7
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>
include/sysemu/sysemu.h
vl.c