From: Peter Maydell Date: Thu, 27 Mar 2014 14:00:52 +0000 (+0000) Subject: vl.c: Improve message when no default machine is found X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a7a5544a3a59600f30f29985397f56ee40929850;p=qemu.git 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: Peter Maydell Reviewed-by: Paolo Bonzini Reviewed-by: Marcel Apfelbaum --- diff --git a/vl.c b/vl.c index 2355227bcb..9975e5a4e3 100644 --- a/vl.c +++ b/vl.c @@ -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); }