提交 1ca8334e 编写于 作者: A Andreas Färber

palm: Don't enforce loading ROM or kernel for qtest

Signed-off-by: NAndreas Färber <afaerber@suse.de>
上级 e25ac5f6
......@@ -19,6 +19,7 @@
#include "hw/hw.h"
#include "audio/audio.h"
#include "sysemu/sysemu.h"
#include "sysemu/qtest.h"
#include "ui/console.h"
#include "hw/arm/omap.h"
#include "hw/boards.h"
......@@ -255,7 +256,7 @@ static void palmte_init(QEMUMachineInitArgs *args)
}
}
if (!rom_loaded && !kernel_filename) {
if (!rom_loaded && !kernel_filename && !qtest_enabled()) {
fprintf(stderr, "Kernel or ROM image must be specified\n");
exit(1);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册