mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
osdict: Use qxl for newer ubuntu
Works better in my testing as explained in the comment
This commit is contained in:
parent
3825d853f3
commit
4057de13f2
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user