mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
video: Prefer "bochs" when it's supported.
Preferring "bochs" display device is the way to go when dealing with a Linux guest using UEFI and that's quite well described here: https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/ https://bugzilla.redhat.com/show_bug.cgi?id=1753644 Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
parent
2e20b128a1
commit
8f4c53ea96
@ -39,6 +39,9 @@ class DeviceVideo(Device):
|
||||
if guest.has_gl():
|
||||
return "virtio"
|
||||
return "qxl"
|
||||
if (guest.is_uefi() and
|
||||
guest.lookup_domcaps().supports_video_bochs()):
|
||||
return "bochs"
|
||||
if guest.conn.is_qemu():
|
||||
return "qxl"
|
||||
return "vga"
|
||||
|
Loading…
Reference in New Issue
Block a user