OSDN Git Service

machine: introduce memory-backend property
authorIgor Mammedov <imammedo@redhat.com>
Wed, 19 Feb 2020 16:08:36 +0000 (11:08 -0500)
committerPatchew Importer <importer@patchew.org>
Wed, 19 Feb 2020 16:49:53 +0000 (16:49 +0000)
commitaa8b183974b27d4dc025905eb869a1941e85e17d
tree4cc744fbd54e764212e52d88d24f359f4e50c8db
parent68a86dc15ccdf0f1242dc71b3d8da18a3ee6b8be
machine: introduce memory-backend property

Property will contain link to memory backend that will be
used for backing initial RAM.
Follow up commit will alias -mem-path and -mem-prealloc
CLI options into memory backend options to make memory
handling consistent (using only hostmem backend family
for guest RAM allocation).

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200219160953.13771-3-imammedo@redhat.com>
hw/core/machine.c
include/hw/boards.h