--- - branch: MAIN date: Sun Apr 16 17:57:08 UTC 2023 files: - new: '1.41' old: '1.40' path: src/sys/dev/pci/virtio_pci.c pathrev: src/sys/dev/pci/virtio_pci.c@1.41 type: modified id: 20230416T175708Z.4b888d774b409154aece37029dc807675044bd45 log: | virtio@pci: Fix assertion on detach. If the child never attached in the first place, it's OK for it to not have detached. XXX This should not be a set of flags; this should be a state enumeration, because some flags make no sense, like FINISHED|FAILED. XXX This should not be asserted separately in each bus; there should be a single place in virtio.c to assert this, uniformly in all buses. PR kern/57357 XXX pullup-10 module: src subject: 'CVS commit: src/sys/dev/pci' unixtime: '1681667828' user: riastradh