projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a676968
)
Remove double error message in qemu_option_set()
author
Mark McLoughlin
<markmc@redhat.com>
Tue, 6 Oct 2009 11:17:00 +0000
(12:17 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Tue, 6 Oct 2009 19:36:11 +0000
(14:36 -0500)
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 <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-config.c
patch
|
blob
|
history
diff --git
a/qemu-config.c
b/qemu-config.c
index 2e396aef7c31fa2c9485fffea81254222e14c0b9..f5c1a12254aea3c64b96d0920fd7969feb142448 100644
(file)
--- 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;