Re: [PATCH v4 2/2] qemu_process: detect updated video ram size values from QEMU

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

 



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 <phrdina@xxxxxxxxxx>
> ---
>  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@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]