diff options
| author | Igor Mammedov | 2020-02-19 17:08:36 +0100 |
|---|---|---|
| committer | Patchew Importer | 2020-02-19 17:49:53 +0100 |
| commit | aa8b183974b27d4dc025905eb869a1941e85e17d (patch) | |
| tree | 4cc744fbd54e764212e52d88d24f359f4e50c8db /include | |
| parent | numa: remove deprecated -mem-path fallback to anonymous RAM (diff) | |
| download | qemu-aa8b183974b27d4dc025905eb869a1941e85e17d.tar.gz qemu-aa8b183974b27d4dc025905eb869a1941e85e17d.tar.xz qemu-aa8b183974b27d4dc025905eb869a1941e85e17d.zip | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/boards.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h index fb1b43d5b9..7b4b6b79d7 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -4,6 +4,7 @@ #define HW_BOARDS_H #include "exec/memory.h" +#include "sysemu/hostmem.h" #include "sysemu/blockdev.h" #include "sysemu/accel.h" #include "qapi/qapi-types-machine.h" @@ -285,6 +286,7 @@ struct MachineState { bool enforce_config_section; bool enable_graphics; char *memory_encryption; + char *ram_memdev_id; DeviceMemoryState *device_memory; ram_addr_t ram_size; |
