qemu: add virtio video device

qemu 2.5 provides virtio video device.  It can be used with -device
virtio-vga for primary devices, or -device virtio-gpu for non-vga
devices. However, only the primary device (VGA) is supported with this
patch.

Reference:
https://bugzilla.redhat.com/show_bug.cgi?id=1195176

Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Marc-André Lureau
2015-11-25 09:42:32 +01:00
committed by Michal Privoznik
parent 806ae49933
commit 21373feb4e
15 changed files with 4200 additions and 7 deletions

View File

@@ -5153,8 +5153,9 @@ qemu-kvm -net nic,model=? /dev/null
<p>
The <code>model</code> element has a mandatory <code>type</code>
attribute which takes the value "vga", "cirrus", "vmvga", "xen",
"vbox", or "qxl" (<span class="since">since 0.8.6</span>) depending
on the hypervisor features available.
"vbox", "qxl" (<span class="since">since 0.8.6</span>) or
"virtio" (<span class="since">since 1.3.0</span>)
depending on the hypervisor features available.
</p>
<p>
You can provide the amount of video memory in kibibytes (blocks of