qemu: the actual change of default video devide type selection algorithm
qemu: the actual change of default video devide type selection algorithm

If a graphics device was added to XML that had no video device, libvirt
automatically added a video device which was always of type 'cirrus' on
x86_64, even if the underlying qemu didn't support cirrus.

This patch refines a bit the decision about the type of the video device.
Based on QEMU capabilities, cirrus is still preferred but only added if
QEMU supports it, otherwise VGA is used if supported by QEMU.  There is now
no fallback as libvirt only aspires to generate a basic working config and
leaves anything more specific up to higher-level management tools.

Reviewed-by: Cole Robinson <7cd45ff6ad1fb7cf556a02797d774247851499f8@redhat.com>
Signed-off-by: Pavel Mores <e8e79a41a9b826cd47122238a26f8527b5f610bc@redhat.com>

jardasgit/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,jfehlig/libvirt,jardasgit/libvirt,zippy2/libvirt,crobinso/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,libvirt/libvirt,jardasgit/libvirt,nertpinx/libvirt,nertpinx/libvirt,libvirt/libvirt,jfehlig/libvirt,libvirt/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,olafhering/libvirt,olafhering/libvirt,jardasgit/libvirt,nertpinx/libvirt,zippy2/libvirt,crobinso/libvirt,zippy2/libvirt,zippy2/libvirt,crobinso/libvirt,olafhering/libvirt,fabianfreyer/libvirt,crobinso/libvirt,nertpinx/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,olafhering/libvirt,libvirt/libvirt