[PATCH 0/3] 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.

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

 src/qemu/qemu_monitor.c      | 207 ++++++++++++++++++++++++++++---------------
 src/qemu/qemu_monitor.h      |  38 ++++++++
 src/qemu/qemu_monitor_json.c |  12 +--
 src/qemu/qemu_monitor_json.h |  34 +------
 src/qemu/qemu_process.c      | 108 ++++++++++++++++++++++
 tests/qemumonitorjsontest.c  |  10 +--
 6 files changed, 295 insertions(+), 114 deletions(-)

-- 
2.0.4

--
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]