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