aboutsummaryrefslogtreecommitdiff
path: root/hw/qdev.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-03-22 13:05:57 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2013-03-22 13:05:57 -0500
commitcecd77ae6df060bbe8f0eea6691112097e680a52 (patch)
tree4c82bcf59884c6555cb0199a1f96a26a2dfaf83a /hw/qdev.c
parentf9308207040dc4a1484cee459bedaec03645b935 (diff)
parent01ed1d527c59356e6c4c9d54b5710a3c9e78ce4e (diff)
downloadqemu-cecd77ae6df060bbe8f0eea6691112097e680a52.zip
qemu-cecd77ae6df060bbe8f0eea6691112097e680a52.tar.gz
qemu-cecd77ae6df060bbe8f0eea6691112097e680a52.tar.bz2
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
# By liguang (2) and others # Via Stefan Hajnoczi * stefanha/trivial-patches: qdev: remove redundant abort() gitignore: ignore more files Use proper term in TCG README serial: Fix debug format strings Fix typos and misspellings Advertise --libdir in configure --help output memory: fix a bug of detection of memory region collision MinGW: Replace setsockopt by qemu_setsocketopt
Diffstat (limited to 'hw/qdev.c')
-rw-r--r--hw/qdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/qdev.c b/hw/qdev.c
index 0b20280..708a058 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -117,11 +117,10 @@ DeviceState *qdev_create(BusState *bus, const char *name)
if (bus) {
error_report("Unknown device '%s' for bus '%s'", name,
object_get_typename(OBJECT(bus)));
- abort();
} else {
error_report("Unknown device '%s' for default sysbus", name);
- abort();
}
+ abort();
}
return dev;