From 52d188e32fb8addb45bf926df07e34ab35898f85 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 6 Jul 2012 10:29:26 +0100 Subject: qemu: Use sgabios by default (thanks Dan Berrange). --- src/launch.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/launch.c b/src/launch.c index af5ca9fd..e7865195 100644 --- a/src/launch.c +++ b/src/launch.c @@ -825,6 +825,15 @@ launch_appliance (guestfs_h *g) add_cmdline (g, "stdio"); #endif + /* Use sgabios instead of vgabios. This means we'll see BIOS + * messages on the serial port, and also works around this bug + * in qemu 1.1.0: + * https://bugs.launchpad.net/qemu/+bug/1021649 + * QEmu has included sgabios upstream since just before 1.0. + */ + add_cmdline (g, "-device"); + add_cmdline (g, "sga"); + /* Set up virtio-serial for the communications channel. */ add_cmdline (g, "-chardev"); snprintf (buf, sizeof buf, "socket,path=%s,id=channel0", guestfsd_sock); -- cgit