HomeFreeBSD

usr.sbin/bhyve: only unassign a pt device after obtaining bus/slot/func

Description

usr.sbin/bhyve: only unassign a pt device after obtaining bus/slot/func

Coverity CID: 1194302, 1194303, 1194304
Approved by: jhb, markj
Differential Revision: https://reviews.freebsd.org/D20933

Details

Provenance
seancAuthored on Jul 12 2019, 6:33 PM
Parents
rGba1ca6d2e3f7: usr.sbin/bhyve: free resources when erroring out of pci_vtcon_sock_add()
Branches
Unknown
Tags
Unknown

Event Timeline