|Summary:||error reporting with bhyvectl could be improved|
|Component:||bhyve||Assignee:||freebsd-virtualization (Nobody) <virtualization>|
|Severity:||Affects Some People||CC:||grehan|
Description marko 2020-10-27 13:13:55 UTC
Created attachment 219145 [details] svn diff output of the relevant changes Currently bhyvectl only can have only one type of message when it is unable to establish comms with VM. ---8<---- VM:free12.1 is not created. ---8<---- First time I encountered this lead me astray, as the access issue had to do with user permissions. Easy way to get more info is to report what system call gave as an error code. Including a patch as attachment which should address this issue. The libvmmapi change is there so that sysctlbyname() done within vm_destroy() would not override errno set by earlier syscall to open().
Comment 1 Peter Grehan 2020-11-05 06:52:04 UTC
This looks fine.