[libvirt] [PATCH] Device reattach: Check if device is assigned to guest before reattaching