From 9c5ea364505f9f2553a20e93b78a61e3953eacf8 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Fri, 3 Apr 2009 19:11:29 +0100 Subject: [PATCH] Pass -no-kqemu parameter to avoid warning about kqemu. --- src/guestfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/guestfs.c b/src/guestfs.c index 6de631f..d3594d3 100644 --- a/src/guestfs.c +++ b/src/guestfs.c @@ -497,7 +497,8 @@ guestfs_launch (guestfs_h *g) "console=ttyS0 guestfs=%s:%d", VMCHANNEL_ADDR, VMCHANNEL_PORT); add_cmdline (g, "-m"); - add_cmdline (g, "384"); /* XXX Choose best size. */ + add_cmdline (g, "384"); /* XXX Choose best size. */ + add_cmdline (g, "-no-kqemu"); /* Avoids a warning. */ add_cmdline (g, "-kernel"); add_cmdline (g, (char *) kernel); add_cmdline (g, "-initrd"); -- 1.8.3.1