]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm tools: Use pr_debug() for symbol lookup init failure
authorPekka Enberg <penberg@kernel.org>
Sat, 4 Feb 2012 08:51:06 +0000 (10:51 +0200)
committerPekka Enberg <penberg@kernel.org>
Sat, 4 Feb 2012 08:51:06 +0000 (10:51 +0200)
There's absolutely no point in printing out an error message for symbol lookup
init failure because we run just fine without them.

Suggested-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/builtin-run.c

index a3fa444cdee93297471c2c373a3f0f85b1eb40dc..95d35a5b60e2ef850854ea3f721c6204930aae4e 100644 (file)
@@ -1113,7 +1113,7 @@ static int kvm_cmd_run_init(int argc, const char **argv)
        kvm->vmlinux = vmlinux_filename;
        r = symbol_init(kvm);
        if (r < 0)
-               pr_err("symbol_init() failed with error %d\n", r);
+               pr_debug("symbol_init() failed with error %d\n", r);
 
        ioport__setup_arch();