summaryrefslogtreecommitdiff
path: root/arch_init.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2013-06-07 15:00:33 +0200
committerMichael Roth <mdroth@linux.vnet.ibm.com>2013-06-17 18:01:42 -0500
commit685ee2d940738e771c96de33a3cbd85abfbbb3c5 (patch)
treeaca8cd69ca45dd1a9008a43a87659387ab063344 /arch_init.c
parentfa0f47d3904e36af21538f261f8cf12bc4b6ff9c (diff)
downloadqemu-685ee2d940738e771c96de33a3cbd85abfbbb3c5.tar.gz
smbios: Convert to error_report()
Improves diagnistics from ad hoc messages like Invalid SMBIOS UUID string to qemu-system-x86_64: -smbios type=1,uuid=gaga: Invalid UUID Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Laszlo "ever the optimist" Ersek <lersek@redhat.com> Message-id: 1370610036-10577-4-git-send-email-armbru@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> (cherry picked from commit 5bb95e41868b461f37159efb48908828ebd7ab36) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'arch_init.c')
-rw-r--r--arch_init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch_init.c b/arch_init.c
index 49c5dc27e6..e2559f5575 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -1053,7 +1053,6 @@ void do_smbios_option(const char *optarg)
{
#ifdef TARGET_I386
if (smbios_entry_add(optarg) < 0) {
- fprintf(stderr, "Wrong smbios provided\n");
exit(1);
}
#endif