summaryrefslogtreecommitdiff
path: root/hw/qdev.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-02-19 13:20:23 +0100
committerMarkus Armbruster <armbru@redhat.com>2010-03-16 17:45:26 +0100
commit559d9d619afc7e86be5a6f3ad2527e623272b5fa (patch)
tree5f47add22b04ea2e0fee12cd4c38994a220b298d /hw/qdev.c
parent6ea3e08525ae3d29d6324cf7a848d6fd5fd182dd (diff)
downloadqemu-559d9d619afc7e86be5a6f3ad2527e623272b5fa.tar.gz
qemu-559d9d619afc7e86be5a6f3ad2527e623272b5fa.tar.bz2
qemu-559d9d619afc7e86be5a6f3ad2527e623272b5fa.zip
qdev: convert setting device properties to QError
Diffstat (limited to 'hw/qdev.c')
-rw-r--r--hw/qdev.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/qdev.c b/hw/qdev.c
index 4608169449..36f2bd6189 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -146,8 +146,6 @@ static int set_property(const char *name, const char *value, void *opaque)
return 0;
if (qdev_prop_parse(dev, name, value) == -1) {
- error_report("can't set property \"%s\" to \"%s\" for \"%s\"",
- name, value, dev->info->name);
return -1;
}
return 0;