diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-07-06 10:29:26 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-07-06 10:29:26 +0100 |
commit | 52d188e32fb8addb45bf926df07e34ab35898f85 (patch) | |
tree | 14d9ee8b5ffa263757724cab781e9d933a131034 /src/launch.c | |
parent | 1b87f89b5c61f7b840663ddebaa58beb716bb1e9 (diff) | |
download | libguestfs-52d188e32fb8addb45bf926df07e34ab35898f85.tar.gz libguestfs-52d188e32fb8addb45bf926df07e34ab35898f85.tar.xz libguestfs-52d188e32fb8addb45bf926df07e34ab35898f85.zip |
qemu: Use sgabios by default (thanks Dan Berrange).
Diffstat (limited to 'src/launch.c')
-rw-r--r-- | src/launch.c | 9 |
1 files changed, 9 insertions, 0 deletions
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); |