qemu-command: introduce new vgamem attribute for QXL video device

Add attribute to set vgamem_mb parameter of QXL device for QEMU. This
value sets the size of VGA framebuffer for QXL device. Default value in
QEMU is 8MB so reuse it also in libvirt to not break things.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1076098

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina
2014-11-20 19:52:00 +01:00
parent 24c6ca860e
commit 742d49fa17
16 changed files with 94 additions and 20 deletions

View File

@@ -4732,7 +4732,10 @@ qemu-kvm -net nic,model=? /dev/null
only and specifies the size of the primary bar, while the optional
attribute <code>vram</code> specifies the secondary bar size.
If "ram" or "vram" are not supplied a default value is used. The ram
should also be rounded to power of two as vram.
should also be rounded to power of two as vram. There is also optional
attribute <code>vgamem</code> (<span class="since">since 1.2.11 (QEMU
only)</span>) to set the size of VGA framebuffer for fallback mode of
QXL device.
</p>
</dd>