aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-09-15 19:44:34 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-09-15 19:44:34 +0100
commitcc35a44cf7b522b1fd0b786562b7de4b881c41b0 (patch)
treeab9751a4ceac9c6ad57e748a8ab5407c5cbf75aa /exec.c
parentf2bcdc8de018d33ecf93da7a94f327956ecf76ea (diff)
parente4d9df4fb16861f413374b69fcdb12c8c7a4a17e (diff)
Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging
* remotes/qmp-unstable/queue/qmp: exec: file_ram_alloc(): print error when prealloc fails monitor: fix debug print compiling error Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/exec.c b/exec.c
index 5aa84d4ae3..2b2465117e 100644
--- a/exec.c
+++ b/exec.c
@@ -1164,6 +1164,7 @@ static void *file_ram_alloc(RAMBlock *block,
error:
if (mem_prealloc) {
+ error_report("%s\n", error_get_pretty(*errp));
exit(1);
}
return NULL;