aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-03-27 15:29:33 +0000
committerPeter Maydell <peter.maydell@linaro.org>2014-03-27 15:29:33 +0000
commit6ff45f01c734e1ad051f19913449e2577c9f4b7d (patch)
treec471a8a31590faba7a963b4df9ef266ea94fd634
parent9ad665df2a9eeb8ed6f3501896e45c1a3cd9dd5f (diff)
parenta7a5544a3a59600f30f29985397f56ee40929850 (diff)
downloadqemu-6ff45f01c734e1ad051f19913449e2577c9f4b7d.zip
qemu-6ff45f01c734e1ad051f19913449e2577c9f4b7d.tar.gz
qemu-6ff45f01c734e1ad051f19913449e2577c9f4b7d.tar.bz2
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140327' into staging
target-arm queue: * Don't default to integratorcp board if no machine specified # gpg: Signature made Thu 27 Mar 2014 14:09:12 GMT using RSA key ID 14360CDE # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>" * remotes/pmaydell/tags/pull-target-arm-20140327: vl.c: Improve message when no default machine is found hw/arm: Stop specifying integratorcp as the default board Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--hw/arm/integratorcp.c1
-rw-r--r--vl.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/arm/integratorcp.c b/hw/arm/integratorcp.c
index a759689..912af96 100644
--- a/hw/arm/integratorcp.c
+++ b/hw/arm/integratorcp.c
@@ -534,7 +534,6 @@ static QEMUMachine integratorcp_machine = {
.name = "integratorcp",
.desc = "ARM Integrator/CP (ARM926EJ-S)",
.init = integratorcp_init,
- .is_default = 1,
};
static void integratorcp_machine_init(void)
diff --git a/vl.c b/vl.c
index 2355227..9975e5a 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);
}