Bug 239483 - [PATCH] bhyve prints confusing error message when vmm module not loaded
Summary: [PATCH] bhyve prints confusing error message when vmm module not loaded
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: bhyve (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Marcelo Araujo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-27 21:51 UTC by Brennan Vincent
Modified: 2019-07-30 12:37 UTC (History)
2 users (show)

See Also:


Attachments
patch improving the error message (795 bytes, patch)
2019-07-27 21:51 UTC, Brennan Vincent
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 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.