Libvirt commit#742d49f introduces vgamem attribute to set the VGA framebuffer size for QXL device of qemu, So we use vgamem instead of vram here for qxl. Signed-off-by: Lin Ma <lma@xxxxxxxx> --- virtManager/details.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/virtManager/details.py b/virtManager/details.py index 718f50a..a07077b 100644 --- a/virtManager/details.py +++ b/virtManager/details.py @@ -3070,7 +3070,10 @@ class vmmDetails(vmmGObjectUI): self.widget("video-model")) model = vid.model - ram = vid.vram + if model == "qxl" and vid.vgamem: + ram = vid.vgamem + else: + ram = vid.vram heads = vid.heads try: ramlabel = ram and "%d MiB" % (int(ram) / 1024) or "-" -- 2.1.4 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list