diff options
| author | Peter Maydell | 2012-02-22 23:40:00 +0100 |
|---|---|---|
| committer | Anthony Liguori | 2012-02-24 20:36:06 +0100 |
| commit | 967c0da73a7b0da186baba6632301d83644a570c (patch) | |
| tree | 0425c547fd37766839b52dd4e398e3cd304ceb94 /audio | |
| parent | nic: zap obsolote romloading bits from ne2k + pcnet (diff) | |
| download | qemu-967c0da73a7b0da186baba6632301d83644a570c.tar.gz qemu-967c0da73a7b0da186baba6632301d83644a570c.tar.xz qemu-967c0da73a7b0da186baba6632301d83644a570c.zip | |
vl.c: Avoid segfault when started with no arguments
Fix a bug (introduced in commit a0abe47) where a command line which
specified no machine arguments (either explicitly or implicitly via
-kernel &co) would result in a segfault because of a NULL pointer
returned from qemu_opts_find(qemu_find_opts("machine"), 0).
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions
