[Top][All Lists]

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

[Qemu-commits] [COMMIT 5169329] Remove double error message in qemu_opti

From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 5169329] Remove double error message in qemu_option_set()
Date: Tue, 06 Oct 2009 20:05:42 -0000

From: Mark McLoughlin <address@hidden>

qemu_opt_set() prints an error message in all failure cases, so
qemu_set_option() doesn't need to print another error.

Signed-off-by: Mark McLoughlin <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

diff --git a/qemu-config.c b/qemu-config.c
index 2e396ae..f5c1a12 100644
--- a/qemu-config.c
+++ b/qemu-config.c
@@ -209,8 +209,6 @@ int qemu_set_option(const char *str)
     if (qemu_opt_set(opts, arg, str+offset+1) == -1) {
-        qemu_error("failed to set \"%s\" for %s \"%s\"\n",
-                arg, lists[i]->name, id);
         return -1;
     return 0;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]