[Libvir] [PATCH] #1: Add error handling and do quick wins (qemu, test)