Commit a7a5544a authored by Peter Maydell's avatar Peter Maydell
Browse files

vl.c: Improve message when no default machine is found



Improve the clarity of the message QEMU prints when the user
doesn't specify a machine model to use and there is no default.

Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Reviewed-by: default avatarMarcel Apfelbaum <marcel.a@redhat.com>
parent d4715c41
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3929,7 +3929,8 @@ int main(int argc, char **argv, char **envp)
#endif

    if (machine_class == NULL) {
        fprintf(stderr, "No machine found.\n");
        fprintf(stderr, "No machine specified, and there is no default.\n"
                "Use -machine help to list supported machines!\n");
        exit(1);
    }