no, the shutdown would be called by:If startup might be called by resume, without domain attached, what>>Don't we need to check here (and in _shutdown() too) if we have a>
>>domain attached?
>hmmm, right, the startup might been called by resume, so should check
>iommu->domain here.
>
>but the shutdown would be called at the end of detach or suspend, it could
>be not attached or attached.
prevents shutdown from being called by suspend after that resume,
still without domain attached? Is it guaranteed that if resume is
called, someone will attach a domain before suspend is called?
Best regards,
Tomasz