summaryrefslogtreecommitdiffstats
path: root/hw/timer/aspeed_timer.c
diff options
context:
space:
mode:
authorMarkus Armbruster2018-10-17 10:26:56 +0200
committerMarkus Armbruster2018-10-19 14:51:34 +0200
commitf881ca19f1942965490a70d23566c6287c49ceac (patch)
tree2866bc15acb9cb53d5caa5d9a4f2e31f5ad47031 /hw/timer/aspeed_timer.c
parentfsdev: Clean up error reporting in qemu_fsdev_add() (diff)
downloadqemu-f881ca19f1942965490a70d23566c6287c49ceac.tar.gz
qemu-f881ca19f1942965490a70d23566c6287c49ceac.tar.xz
qemu-f881ca19f1942965490a70d23566c6287c49ceac.zip
vl: Assert drive_new() does not fail in default_drive()
If creating (empty) default drives fails, it's a bug. Therefore, assert() is more appropriate than exit(1). Cc: Kevin Wolf <kwolf@redhat.com> Cc: Max Reitz <mreitz@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20181017082702.5581-33-armbru@redhat.com>
Diffstat (limited to 'hw/timer/aspeed_timer.c')
0 files changed, 0 insertions, 0 deletions