Skip to content

Commit

Permalink
palm: Don't enforce loading ROM or kernel for qtest
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Färber <afaerber@suse.de>
  • Loading branch information
afaerber committed Nov 5, 2013
1 parent e25ac5f commit 1ca8334
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hw/arm/palm.c
Expand Up @@ -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"
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 1ca8334

Please sign in to comment.