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

            Bug ID: 253004
           Summary: Win 10 guest fails to restart unless I --destroy
           Product: Base System
           Version: 13.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bhyve
          Assignee: virtualizat...@freebsd.org
          Reporter: berger...@yahoo.co.uk

In 13.0-ALPHA2 I still have this problem:
Running Win 10 guest with 2 passthrough devices (USB controller + NIC) I can't
start guest after shutdown. Get this error:

Assertion failed: (error == 0), function modify_bar_registration, file
/usr/src/usr.sbin/bhyve/pci_emul.c, line 501.
                           .twm/programs/./bhyve-hda.sh: line 13: 90467 Abort
trap              bhyve -S -c sockets=1,cores=2,threads=2 -m 6G -H -w -s
0,hostbridge -s 3,passthru,7/0/1 -s
4,virtio-blk,/bhyve/win-alt.img,sectorsize=512/4096 -s
6,hda,rec=/dev/dsp,play=/dev/dsp -s 8,passthru,12/0/0 -s
29,fbuf,tcp=0.0.0.0:5900,w=1600,h=900,wait -s 30,xhci,tablet -s 31,lpc -l
com1,stdio -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd windows-10

Interestingly, this error particular error was reported and addressed by a
patch, so it doesn't happen again. But it comes out when I restar guest after
shutdown.

It was mentioned here, including also the patch:
http://freebsd.1045724.x6.nabble.com/Windows-10-guests-fail-to-boot-when-attempting-to-passthrough-network-card-td6330452.html

Solution: the only one that works is to run:
#bhyvectl --vm=$my_vm_name --destroy

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to