[Bug 242666] Stopped VM cant restart again

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 16 16:35:13 UTC 2019


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

            Bug ID: 242666
           Summary: Stopped VM cant restart again
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bhyve
          Assignee: virtualization at FreeBSD.org
          Reporter: bernhard at blberger.de

Hi, I have an old problem with BHYVE VM's
Sometimes a VM that has been stopped cannot be restarted. When the VM is
restarted, an error message appears stating that it is still running.
Currently this can only be solved by rebooting the server.
This is also the case with the current FreeBSD 12.1 release :-(

Here is my VM list

root at superserver:~ # vm list
NAME DATASTORE LOADER CPU MEMORY VNC AUTOSTART STATE
nextcloud default bhyveload 2 2G - Yes [3] Running (86383)
samba default bhyveload 2 2G - Yes [2] Running (15621)
test-pc default bhyveload 2 2G - No Stopped
unifi default grub 1 2G - Yes [1] Running (15601)


Here I try to start the VM "test-pc

root at superserver:~ # vm start test-pc
Starting test-pc
  * found guest in /data/bhyve/test-pc
  ! guest appears to be running already


However, there is no process 
root at superserver:~ # ps xaf | grep test-pc
19050 14 S+ 0:00.00 grep test-pc

compared to samba
root at superserver:~ # ps xaf | grep samba
15361 2- I 0:00.01 /bin/sh /usr/local/sbin/vm _run samba
15621 2- IC 102:54.67 bhyve: samba (bhyve)
19971 14 S+ 0:00.00 grep samba

but in /dev/vmm the test-pc exists as running VM

root at superserver:~ # ll /dev/vmm
total 0
crw------- 1 root wheel 0xb1 Dec 16 13:35 nextcloud
crw------- 1 root wheel 0xb3 Dec 15 23:25 samba
crw------- 1 root wheel 0xb2 Dec 16 15:26 test-pc
crw------- 1 root wheel 0x7d Dec 15 23:24 unifi

Translated with www.DeepL.com/Translator (free version)

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


More information about the freebsd-virtualization mailing list