FreeBSD Bugzilla – Attachment 206107 Details for
Bug 239483
[PATCH] bhyve prints confusing error message when vmm module not loaded
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch improving the error message
bhyve_err.patch (text/plain), 795 bytes, created by
Brennan Vincent
on 2019-07-27 21:51:43 UTC
(
hide
)
Description:
patch improving the error message
Filename:
MIME Type:
Creator:
Brennan Vincent
Created:
2019-07-27 21:51:43 UTC
Size:
795 bytes
patch
obsolete
>Index: usr.sbin/bhyve/bhyverun.c >=================================================================== >--- usr.sbin/bhyve/bhyverun.c (revision 350325) >+++ usr.sbin/bhyve/bhyverun.c (working copy) >@@ -927,6 +927,9 @@ > } > } else { > perror("vm_create"); >+ if (errno == ENOENT) { >+ fprintf(stderr, "Is the `vmm` module loaded?\n"); >+ } > exit(4); > } > } else { >Index: usr.sbin/bhyveload/bhyveload.c >=================================================================== >--- usr.sbin/bhyveload/bhyveload.c (revision 350325) >+++ usr.sbin/bhyveload/bhyveload.c (working copy) >@@ -766,6 +766,9 @@ > if (error) { > if (errno != EEXIST) { > perror("vm_create"); >+ if (errno == ENOENT) { >+ fprintf(stderr, "Is the `vmm` module loaded?\n"); >+ } > exit(1); > } > need_reinit = 1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239483
: 206107