summaryrefslogtreecommitdiffstats
path: root/src/guestfs.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-20 23:40:50 +0100
committerRichard Jones <rjones@redhat.com>2009-04-20 23:40:50 +0100
commit936108f54cbf8e81132a0a0a8c093a4056f0e11c (patch)
tree9a8819916ee5833c36cf6a2b3621d196a393c37b /src/guestfs.c
parent89f060b5cfecc11558174b7e0b3867f2b8d9c135 (diff)
downloadlibguestfs-936108f54cbf8e81132a0a0a8c093a4056f0e11c.tar.gz
libguestfs-936108f54cbf8e81132a0a0a8c093a4056f0e11c.tar.xz
libguestfs-936108f54cbf8e81132a0a0a8c093a4056f0e11c.zip
Various fixes to build and test in Koji.1.0.4
Diffstat (limited to 'src/guestfs.c')
-rw-r--r--src/guestfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guestfs.c b/src/guestfs.c
index 74fd76b0..0b3142c7 100644
--- a/src/guestfs.c
+++ b/src/guestfs.c
@@ -730,7 +730,9 @@ guestfs_launch (guestfs_h *g)
add_cmdline (g, "-m");
add_cmdline (g, "384"); /* XXX Choose best size. */
+#if defined(__i386__) || defined(__x86_64)
add_cmdline (g, "-no-kqemu"); /* Avoids a warning. */
+#endif
add_cmdline (g, "-kernel");
add_cmdline (g, (char *) kernel);
add_cmdline (g, "-initrd");