riegama...@gmail.com writes:

> From: Dunrong Huang <riegama...@gmail.com>
>
> We check whether the variable machine is NULL or not before accessing
> it. If machine is NULL, exit QEMU with an error, this can avoids a
> segfault error.
>
> Signed-off-by: Dunrong Huang <riegama...@gmail.com>

Commit message lacks detail on how to reproduce the SEGV.  This does the
trick:

    $ qemu-system-xtensa -cpu help

Reviewed-by: Markus Armbruster <arm...@redhat.com>

Reply via email to