提交 a7a5544a 编写于 作者: P Peter Maydell

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: NPeter Maydell <peter.maydell@linaro.org>
Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com>
Reviewed-by: NMarcel Apfelbaum <marcel.a@redhat.com>
上级 d4715c41
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册