summaryrefslogtreecommitdiffstats
path: root/hw/ppc/sam460ex.c
diff options
context:
space:
mode:
authorPeter Maydell2018-09-25 12:37:39 +0200
committerPeter Maydell2018-09-25 12:37:39 +0200
commit2f831d04985f064e9306fa58db516e0a3e1df918 (patch)
tree428980441c2b8a0acccf8dd7a6909cc255c761e8 /hw/ppc/sam460ex.c
parentMerge remote-tracking branch 'remotes/xtensa/tags/20180918-xtensa' into staging (diff)
parentMAINTAINERS: Fix F: patterns that don't match anything (diff)
downloadqemu-2f831d04985f064e9306fa58db516e0a3e1df918.tar.gz
qemu-2f831d04985f064e9306fa58db516e0a3e1df918.tar.xz
qemu-2f831d04985f064e9306fa58db516e0a3e1df918.zip
Merge remote-tracking branch 'remotes/armbru/tags/pull-error-2018-09-24' into staging
Error reporting & miscellaneous patches for 2018-09-24 # gpg: Signature made Mon 24 Sep 2018 16:16:50 BST # gpg: using RSA key 3870B400EB918653 # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" # gpg: aka "Markus Armbruster <armbru@pond.sub.org>" # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867 4E5F 3870 B400 EB91 8653 * remotes/armbru/tags/pull-error-2018-09-24: MAINTAINERS: Fix F: patterns that don't match anything Drop "qemu:" prefix from error_report() arguments qemu-error: make use of {error, warn}_report_once_cond qemu-error: add {error, warn}_report_once_cond Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/ppc/sam460ex.c')
-rw-r--r--hw/ppc/sam460ex.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/ppc/sam460ex.c b/hw/ppc/sam460ex.c
index 250fb86795..5aac58f36e 100644
--- a/hw/ppc/sam460ex.c
+++ b/hw/ppc/sam460ex.c
@@ -234,7 +234,7 @@ static int sam460ex_load_uboot(void)
if (!pflash_cfi01_register(base, NULL, "sam460ex.flash", bios_size,
blk, 64 * KiB, fl_sectors,
1, 0x89, 0x18, 0x0000, 0x0, 1)) {
- error_report("qemu: Error registering flash memory.");
+ error_report("Error registering flash memory");
/* XXX: return an error instead? */
exit(1);
}
@@ -545,7 +545,7 @@ static void sam460ex_init(MachineState *machine)
if (!machine->kernel_filename) {
success = sam460ex_load_uboot();
if (success < 0) {
- error_report("qemu: could not load firmware");
+ error_report("could not load firmware");
exit(1);
}
}
@@ -564,7 +564,7 @@ static void sam460ex_init(MachineState *machine)
}
/* XXX try again as binary */
if (success < 0) {
- error_report("qemu: could not load kernel '%s'",
+ error_report("could not load kernel '%s'",
machine->kernel_filename);
exit(1);
}
@@ -576,7 +576,7 @@ static void sam460ex_init(MachineState *machine)
RAMDISK_ADDR,
machine->ram_size - RAMDISK_ADDR);
if (initrd_size < 0) {
- error_report("qemu: could not load ram disk '%s' at %x",
+ error_report("could not load ram disk '%s' at %x",
machine->initrd_filename, RAMDISK_ADDR);
exit(1);
}