Am 23.09.2013 15:35, schrieb Andreas Färber: > Signed-off-by: Andreas Färber <afaer...@suse.de> > --- > hw/arm/boot.c | 4 ++++ > 1 file changed, 4 insertions(+)
Sorry, I forgot that Grant Likely had an alternative patch [1] not restricted to qtest. Last thing I read was that PMM had similar/further patches. How to proceed? Andreas [1] http://patchwork.ozlabs.org/patch/257997/ > > diff --git a/hw/arm/boot.c b/hw/arm/boot.c > index 1e313af..0c3dc5f 100644 > --- a/hw/arm/boot.c > +++ b/hw/arm/boot.c > @@ -15,6 +15,7 @@ > #include "hw/loader.h" > #include "elf.h" > #include "sysemu/device_tree.h" > +#include "sysemu/qtest.h" > #include "qemu/config-file.h" > > #define KERNEL_ARGS_ADDR 0x100 > @@ -354,6 +355,9 @@ void arm_load_kernel(ARMCPU *cpu, struct arm_boot_info > *info) > > /* Load the kernel. */ > if (!info->kernel_filename) { > + if (qtest_enabled()) { > + return; > + } > fprintf(stderr, "Kernel image must be specified\n"); > exit(1); > } > -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg