Some improvements in libvirt_driver.py