In a Fedora 34 guest using standard VGA video, and having no explicit X.org config file, the X.org server logs the following (excerpt):
> Markers: (--) probed, (**) from config file, (==) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > (==) Matched modesetting as autoconfigured driver 0 > (==) Matched fbdev as autoconfigured driver 1 > (==) Matched vesa as autoconfigured driver 2 > (II) LoadModule: "modesetting" > (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so > (II) LoadModule: "fbdev" > (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so > (II) LoadModule: "vesa" > (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so > (II) Loading sub module "fbdevhw" > (II) LoadModule: "fbdevhw" > (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so > (II) UnloadModule: "fbdev" > (II) Unloading fbdev > (II) UnloadSubModule: "fbdevhw" > (II) Unloading fbdevhw > (II) UnloadModule: "vesa" > (II) Unloading vesa This tells us that the standard VGA device model is driven by the "modesetting" driver. Update the "configure_display_driver" function (for Linux guests) accordingly. Cc: Gerd Hoffmann <[email protected]> Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1961107 Signed-off-by: Laszlo Ersek <[email protected]> --- convert/convert_linux.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert/convert_linux.ml b/convert/convert_linux.ml index 85d8c5ae0e92..15f68fd4f8db 100644 --- a/convert/convert_linux.ml +++ b/convert/convert_linux.ml @@ -831,7 +831,7 @@ let convert (g : G.guestfs) source inspect keep_serial_console rcaps _ = and configure_display_driver video = let video_driver = match video with - | Standard_VGA -> assert false + | Standard_VGA -> "modesetting" | QXL -> "qxl" | Cirrus -> "cirrus" in -- 2.19.1.3.g30247aa5d201 _______________________________________________ Libguestfs mailing list [email protected] https://listman.redhat.com/mailman/listinfo/libguestfs
