]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix test driver domain restore return value.
authorCole Robinson <crobinso@redhat.com>
Fri, 3 Apr 2009 14:14:05 +0000 (14:14 +0000)
committerCole Robinson <crobinso@redhat.com>
Fri, 3 Apr 2009 14:14:05 +0000 (14:14 +0000)
ChangeLog
src/test.c

index e1d32f662f78b23717e1177c9d65dd3e04f294cf..bfd23c00c8a0a4e2058978e216453b5c63e939b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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.
index a5422e9d84066e495e78f39007a62fde521316c6..a518737d65de3d8106521fc5f03b7120e31ca794 100644 (file)
@@ -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);