aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/blockdev.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2018-10-17 10:26:56 +0200
committerMarkus Armbruster <armbru@redhat.com>2018-10-19 14:51:34 +0200
commitf881ca19f1942965490a70d23566c6287c49ceac (patch)
tree2866bc15acb9cb53d5caa5d9a4f2e31f5ad47031 /include/sysemu/blockdev.h
parentb836723dfe642a67904bcd047feaaa0cda662d38 (diff)
downloadqemu-arm-f881ca19f1942965490a70d23566c6287c49ceac.tar.gz
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 'include/sysemu/blockdev.h')
0 files changed, 0 insertions, 0 deletions