osdict: Use qxl for newer ubuntu

Works better in my testing as explained in the comment
This commit is contained in:
Cole Robinson 2015-09-23 18:10:40 -04:00
parent 3825d853f3
commit 4057de13f2

View File

@ -506,7 +506,14 @@ class _OsVariant(object):
# issues with ubuntu + qxl for as late as 14.04, so carry the vmvga
# default forward until someone says otherwise. In 2014-09 I contacted
# Marc offlist and he said this was fine for now.
if self._os and self._os.get_distro() == "ubuntu":
#
# But in my testing ubuntu-15.04 works _better_ with qxl (installer
# resolution is huge with vmvga but reasonable with qxl), and given
# that the qemu vmvga code is not supposed to be of high quality,
# let's use qxl for newer ubuntu
if (self._os and
self._os.get_distro() == "ubuntu" and
not self._is_related_to("ubuntu15.04")):
return "vmvga"
if guest.has_spice() and guest.os.is_x86():