Max Filippov <jcmvb...@gmail.com> writes:

> This fixes the following error:
>
>     $ qemu-system-xtensa -cpu help
>     Segmentation fault

main() attempts to cope with "no machine found", it just screws it up:

    if (machine->hw_version) {
        qemu_set_version(machine->hw_version);
    }
[...]
    if (machine == NULL) {
        fprintf(stderr, "No machine found.\n");
        exit(1);
    }

Probably broken in commit 93bfef4c, cc'ing its author.

Of course, I don't mind you picking a default machine for xtensa, if
that's what you want.

Reply via email to