[libvirt] [PATCH v2 2/6] test_driver: implement virDomainAttachDevice