From f41a56ed12837f5abd86f2a317f24f965052addd Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Sun, 18 Apr 2021 22:28:40 -0700 Subject: [PATCH] vl: Use error_fatal for qcrypto_init --- softmmu/vl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/softmmu/vl.c b/softmmu/vl.c index 754a9f4d0c..3519d52921 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -2682,10 +2682,7 @@ void qemu_init(int argc, char **argv, char **envp) /*****************************************************************************/ // init earlier because it's needed for eeprom generation - if (qcrypto_init(&err) < 0) { - error_reportf_err(err, "cannot initialize crypto: "); - exit(1); - } + qcrypto_init(&error_fatal); // // FIXME: This is a hack to get QEMU to load correct machine and properties