mcf5208: Don't enforce use of kernel for qtest
Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
5efe843a9a
commit
5c12762c2d
@ -10,6 +10,7 @@
|
||||
#include "qemu/timer.h"
|
||||
#include "hw/ptimer.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysemu/qtest.h"
|
||||
#include "net/net.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/loader.h"
|
||||
@ -267,6 +268,9 @@ static void mcf5208evb_init(QEMUMachineInitArgs *args)
|
||||
|
||||
/* Load kernel. */
|
||||
if (!kernel_filename) {
|
||||
if (qtest_enabled()) {
|
||||
return;
|
||||
}
|
||||
fprintf(stderr, "Kernel image must be specified\n");
|
||||
exit(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user