Page MenuHomeFreeBSD

Check device revoke when during vmbus pcib attach

Authored by whu on Sep 20 2020, 8:06 AM.



It is possible that the vmbus pcib channel is revoked during attach path. The attach path could be waiting for response from host and this response could never arrived since the channel has already been revoked from host point of view. Check this situation during wait complete and return failed if this happens.

Diff Detail

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

whu requested review of this revision.Sep 20 2020, 8:06 AM

add saved_done to avoid missing wake-up.

revised wait_for_completion_timeout() call to avoid missing complete message

This revision was not accepted when it landed; it landed in state Needs Review.Oct 15 2020, 5:57 AM
This revision was automatically updated to reflect the committed changes.