[libvirt] [test-API][PATCH] Add and update functions in domainAPI