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
Differential Revision
Restricted Differential Revision
Parents
rS349946: usr.sbin/bhyve: free resources when erroring out of pci_vtcon_sock_add()
Branches
Unknown
Tags
Unknown