提交 a843f44c 编写于 作者: C Cole Robinson

Fix test driver domain restore return value.

上级 e807e4d9
Fri Apr 3 10:13:38 EDT 2009 Cole Robinson <crobinso@redhat.com>
* src/test.c: Fix test driver domain restore return value.
Fri Apr 3 10:02:57 EDT 2009 Cole Robinson <crobinso@redhat.com>
* src/storage_backend.c: Fix sparse volume allocation reporting.
......
......@@ -1337,7 +1337,7 @@ static int testDomainRestore(virConnectPtr conn,
event = virDomainEventNewFromObj(dom,
VIR_DOMAIN_EVENT_STARTED,
VIR_DOMAIN_EVENT_STARTED_RESTORED);
ret = dom->def->id;
ret = 0;
cleanup:
virDomainDefFree(def);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册