[libvirt] [PATCH] Report error more accurate if failes on attaching device.