[tip:tools/kvm] kvm tools: Don' t stop working if symbols search engine failed to init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  a2114943ac0f210bea371074ea19aa1b4839b027
Gitweb:     http://git.kernel.org/tip/a2114943ac0f210bea371074ea19aa1b4839b027
Author:     Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
AuthorDate: Wed, 1 Feb 2012 12:14:15 +0400
Committer:  Pekka Enberg <penberg@xxxxxxxxxx>
CommitDate: Wed, 1 Feb 2012 11:08:36 +0200

kvm tools: Don't stop working if symbols search engine failed to init

We simply won't get symbol resolving but still can work pretty well.

Reported-by: Asias He <asias.hejun@xxxxxxxxx>
Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx>
---
 tools/kvm/builtin-run.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/tools/kvm/builtin-run.c b/tools/kvm/builtin-run.c
index 6ded1d2..5517aca 100644
--- a/tools/kvm/builtin-run.c
+++ b/tools/kvm/builtin-run.c
@@ -1112,10 +1112,8 @@ static int kvm_cmd_run_init(int argc, const char **argv)
 
 	kvm->vmlinux = vmlinux_filename;
 	r = symbol__init(kvm);
-	if (r < 0) {
+	if (r < 0)
 		pr_err("symbol__init() failed with error %d\n", r);
-		goto fail;
-	}
 
 	ioport__setup_arch();
 
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux