[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH REBASE 6/7] qemu: Track default-ram-id machine attribute



On a Tuesday in 2020, Michal Privoznik wrote:
The machine structure has another (optional) attribute:
default-ram-id, which specifies the alias of the default RAM
object. While the alias is private, it can never change in order
to not break migration. QEMU uses the alias when allocating
regular, not NUMA memory. In order to switch to new command line
and maintain migration, save this ID.

Signed-off-by: Michal Privoznik <mprivozn redhat com>
---
src/qemu/qemu_capabilities.c                  |  35 +++-
src/qemu/qemu_capabilities.h                  |   3 +
src/qemu/qemu_capspriv.h                      |   3 +-
src/qemu/qemu_monitor.c                       |   1 +
src/qemu/qemu_monitor.h                       |   1 +
src/qemu/qemu_monitor_json.c                  |  11 +
.../caps_5.2.0.x86_64.xml                     | 196 +++++++++---------
tests/testutilsqemu.c                         |  15 +-
8 files changed, 161 insertions(+), 104 deletions(-)


Reviewed-by: Ján Tomko <jtomko redhat com>

Jano

Attachment: signature.asc
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]