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

Ján Tomko jtomko at redhat.com
Tue Sep 8 11:47:42 UTC 2020


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 at 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 at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200908/3ec50ef1/attachment-0001.sig>


More information about the libvir-list mailing list