Files
libguestfs/lib
Richard W.M. Jones e14ff93742 lib: direct: Remove use of sga
sga (or "sgabios" or "Serial Graphics Adapter") is an option ROM for
seabios which directs output to the serial adapter.  This is very
useful for debugging BIOS problems during boot.

RHEL wants to deprecate this feature (in fact, they just deprecated it
without telling us).  However there is an equivalent feature in
seabios (seabios >= 1.11 / qemu >= 2.11.0) which can be enabled using
either -nographic or -machine graphics=off

This commit removes sga and enables -machine graphics=off in the
direct backend.

References (for RHEL 9 qemu change):
https://bugzilla.redhat.com/show_bug.cgi?id=2002325
https://bugzilla.redhat.com/show_bug.cgi?id=2000845
https://lists.nongnu.org/archive/html/qemu-devel/2021-09/msg02417.html
https://listman.redhat.com/archives/libvir-list/2021-September/msg00205.html

For the libvirt backend we will continue to use <bios useserial=yes>.
This currently breaks when sga is not available, but I talked to Dan
and the plan there is to adapt libvirt so the same XML will enable
-machine graphics=off.  IOW libguestfs does not need to make any
change.

References (for libvirt change):
https://bugzilla.redhat.com/show_bug.cgi?id=2003092
https://listman.redhat.com/archives/libvir-list/2021-September/msg00193.html

Thanks: Gerd Hoffman, Daniel Berrangé
2021-09-13 10:40:50 +01:00
..
2020-03-06 19:32:32 +00:00
2021-01-28 14:04:29 +00:00
2020-08-24 16:24:38 +01:00
2020-03-06 19:32:32 +00:00
2017-01-26 15:05:46 +00:00
2020-03-06 19:32:32 +00:00
2021-04-13 15:40:48 +01:00
2021-04-08 11:12:17 +01:00
2021-04-08 11:12:17 +01:00
2017-01-26 15:05:46 +00:00
2021-09-13 10:40:50 +01:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2017-01-26 15:05:46 +00:00
2021-04-08 11:12:17 +01:00
2021-04-08 11:12:17 +01:00
2020-03-06 19:32:32 +00:00
2017-01-26 15:05:46 +00:00
2017-01-26 15:05:46 +00:00
2020-03-06 19:32:32 +00:00
2017-01-26 15:05:46 +00:00
2020-03-06 19:32:32 +00:00