[PATCH v2 0/2] Fix migration to older libvirt

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

 



Recently I've implemented new feature that we can set "vgamem_mb" for QXL device
and also I've fixed libvirt to honor the 'vram' attribute and pass that value to
QEMU process. But with this change the migration to older libvirt stopped
working because QEMU silently updates the video memory size if the value is too
low or there are some dependencies (for example QXL device has to have 'ram'
size twice as 'vgamem').

To fix the migration we need to load the updated values from QEMU and store them
into the status XML.

v1:
 - removed unnecessary movement of qemuMonitorJSONObjectProperty
 - completely rewritten the second patch

Pavel Hrdina (2):
  qemu_monitor: introduce new function to get QOM path
  qemu_process: detect updated video ram size values from QEMU

 src/qemu/qemu_monitor.c      | 210 ++++++++++++++++++++++++++++---------------
 src/qemu/qemu_monitor.h      |   4 +
 src/qemu/qemu_monitor_json.c |  69 ++++++++++++++
 src/qemu/qemu_monitor_json.h |   3 +
 src/qemu/qemu_process.c      |  71 +++++++++++++++
 5 files changed, 287 insertions(+), 70 deletions(-)

-- 
2.0.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]