[libvirt] [PATCH] Add source check before attaching device