Bug 247315

Summary: Assertion failed: (sc->opregs.dcbaa_p != NULL), function pci_xhci_get_dev_ctx, file /usr/src/usr.sbin/bhyve/pci_xhci.c, line 568.
Product: Base System Reporter: bugs-syssec
Component: bhyveAssignee: freebsd-virtualization (Nobody) <virtualization>
Status: New ---    
Severity: Affects Only Me    
Priority: ---    
Version: 12.1-RELEASE   
Hardware: amd64   
OS: Any   

Description bugs-syssec 2020-06-16 16:27:07 UTC
To reproduce run the following commands:
```
bhyvectl --vm=testvm --destroy
bhyve.full -s 2:0,ahci-cd,hypertrash_os_bios_crash.iso -w -H -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio -s 3,fbuf,tcp=0.0.0.0:5900,w=800,h=600 -c 1 -m 320M -s 4,xhci,tablet -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CSM.fd testvm
```

bhyve version:
```
# freebsd 12.1
$ svnlite checkout https://svn.freebsd.org/base/releng/12.1 /usr/src
$ cd /usr/src/usr.sbin/bhyve/; make -m /usr/src/share/mk
$ ls /usr/obj/usr/src/amd64.amd64/usr.sbin/bhyve/bhyve.full
```

setup:
```
kldload vmm
```

Files:
https://ruhr-uni-bochum.sciebo.de/s/gLfzWyOCqKLEBxw?path=%2Fxhci_assert_7