Index: usr.sbin/bhyve/smbiostbl.c =================================================================== --- usr.sbin/bhyve/smbiostbl.c +++ usr.sbin/bhyve/smbiostbl.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include @@ -598,8 +599,10 @@ uint32_t status; uuid_from_string(guest_uuid_str, &uuid, &status); - if (status != uuid_s_ok) - return (-1); + if (status != uuid_s_ok) { + fprintf(stderr, "Invalid UUID provided\n"); + exit(4); + } uuid_enc_le(&type1->uuid, &uuid); } else {