[libvirt] [PATCH v2 3/6] test_driver: implement virDomainDetachDeviceFlags