aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-hotplug.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 /hw/pci-hotplug.c
parentc64f27d4f44192579087caa3ec4bd6552caef169 (diff)
downloadqemu-c389c43ee517fbfb8b18ebb520fb4c707e10646e.zip
qemu-c389c43ee517fbfb8b18ebb520fb4c707e10646e.tar.gz
qemu-c389c43ee517fbfb8b18ebb520fb4c707e10646e.tar.bz2
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/pci-hotplug.c')
-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 eb3701b..343fd17 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;
}