[libvirt] [PATCH] Perform disk config validity checking for attach-device config