aboutsummaryrefslogtreecommitdiff
path: root/arch_init.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2013-06-07 15:00:33 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-06-14 08:58:57 -0500
commit5bb95e41868b461f37159efb48908828ebd7ab36 (patch)
treec32419626bcd00d021776dd35f10b8b0678f5ead /arch_init.c
parentf3eededb2fbc73c73daf08f791f0407b8541f4f4 (diff)
downloadqemu-5bb95e41868b461f37159efb48908828ebd7ab36.zip
qemu-5bb95e41868b461f37159efb48908828ebd7ab36.tar.gz
qemu-5bb95e41868b461f37159efb48908828ebd7ab36.tar.bz2
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>
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 5d32ecf..5d71870 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