[Bug 250671] error reporting with bhyvectl could be improved

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 27 13:13:55 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250671

            Bug ID: 250671
           Summary: error reporting with bhyvectl could be improved
           Product: Base System
           Version: 12.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bhyve
          Assignee: virtualization at FreeBSD.org
          Reporter: marko at apache.org

Created attachment 219145
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=219145&action=edit
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().

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list