[libvirt] [PATCH] fix a error message and coding-style cleanup