summaryrefslogtreecommitdiff
path: root/hw
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 /hw
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 'hw')
-rw-r--r--hw/pci-hotplug.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/pci-hotplug.c b/hw/pci-hotplug.c
index eb3701bc89..343fd17031 100644
--- a/hw/pci-hotplug.c
+++ b/hw/pci-hotplug.c
@@ -56,8 +56,6 @@ static PCIDevice *qemu_pci_hot_add_nic(Monitor *mon,
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 NULL;
}