summaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-03-25 17:22:35 +0100
committerAurelien Jarno <aurelien@aurel32.net>2010-04-18 23:46:48 +0200
commitc389c43ee517fbfb8b18ebb520fb4c707e10646e (patch)
tree894600562ebe32268b5b2c39a9bc4af34d909178 /net.c
parentc64f27d4f44192579087caa3ec4bd6552caef169 (diff)
downloadqemu-c389c43ee517fbfb8b18ebb520fb4c707e10646e.tar.gz
qemu-c389c43ee517fbfb8b18ebb520fb4c707e10646e.tar.bz2
qemu-c389c43ee517fbfb8b18ebb520fb4c707e10646e.zip
error: Drop extra messages after qemu_opts_set() and qemu_opts_parse()
Both functions report errors nicely enough now, no need for additional messages. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'net.c')
-rw-r--r--net.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net.c b/net.c
index b66ec7dba5..96e10b140f 100644
--- a/net.c
+++ b/net.c
@@ -1169,8 +1169,6 @@ void net_host_device_add(Monitor *mon, const QDict *qdict)
opts = qemu_opts_parse(&qemu_net_opts, opts_str ? opts_str : "", 0);
if (!opts) {
- monitor_printf(mon, "parsing network options '%s' failed\n",
- opts_str ? opts_str : "");
return;
}