[Libvir] [PATCH] Add the check of the device source