[libvirt] [PATCH v2 0/1] src/driver.c: remove duplicated code in