On Wed, Jan 14, 2015 at 10:27:29 +0100, Pavel Hrdina wrote:
> QEMU internally updates the size of video memory if the domain XML had
> provided too low memory size or there are some dependencies for a QXL
> devices 'vgamem' and 'ram' size. We need to know about the changes and
> store them into the status XML to not break migration or managedsave
> through different libvirt versions.
> 
> The values would be loaded only if the "vgamem_mb" property exists for
> the device.  The presence of the "vgamem_mb" also tells that the
> "ram_size" and "vram_size" exists for QXL devices.
> 
> Signed-off-by: Pavel Hrdina <phrd...@redhat.com>
> ---
>  src/qemu/qemu_monitor.c      | 34 ++++++++++++++++++
>  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      | 83 
> ++++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 193 insertions(+)

ACK

Jirka

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

Reply via email to