Bug 239483

Summary: [PATCH] bhyve prints confusing error message when vmm module not loaded
Product: Base System Reporter: Brennan Vincent <brennan>
Component: bhyveAssignee: Marcelo Araujo <araujo>
Status: Closed FIXED    
Severity: Affects Some People CC: araujo, fbsd-bugzilla, lwhsu, virtualization
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch improving the error message none

Description Brennan Vincent 2019-07-27 21:51:43 UTC
Created attachment 206107 [details]
patch improving the error message

Before my patch:

    $ bhyveload asdf
    vm_create: No such file or directory

After:

    $ /usr/obj/usr/src/amd64.amd64/usr.sbin/bhyveload/bhyveload asdf
    vm_create: No such file or directory
    Is the `vmm` module loaded?
Comment 1 Marcelo Araujo freebsd_committer freebsd_triage 2019-07-30 07:01:42 UTC
There is a review already with similar patch: https://reviews.freebsd.org/D19400
I'm waiting the maintainer's approve to commit it.
Comment 2 David Schlachter 2020-08-01 16:12:01 UTC
Issue should be closed, the linked review has been committed.