Index: /trunk/src/VBox/VMM/testcase/tstVMMFork.cpp
===================================================================
--- /trunk/src/VBox/VMM/testcase/tstVMMFork.cpp	(revision 41293)
+++ /trunk/src/VBox/VMM/testcase/tstVMMFork.cpp	(revision 41294)
@@ -146,8 +146,14 @@
          * Cleanup.
          */
+        rc = VMR3PowerOff(pVM);
+        if (!RT_SUCCESS(rc))
+        {
+            RTPrintf(TESTCASE ": error: failed to power off vm! rc=%Rrc\n", rc);
+            rcErrors++;
+        }
         rc = VMR3Destroy(pVM);
         if (!RT_SUCCESS(rc))
         {
-            RTPrintf(TESTCASE ": error: failed to destroy vm! rc=%d\n", rc);
+            RTPrintf(TESTCASE ": error: failed to destroy vm! rc=%Rrc\n", rc);
             rcErrors++;
         }
@@ -155,5 +161,5 @@
     else
     {
-        RTPrintf(TESTCASE ": fatal error: failed to create vm! rc=%d\n", rc);
+        RTPrintf(TESTCASE ": fatal error: failed to create vm! rc=%Rrc\n", rc);
         rcErrors++;
     }
Index: /trunk/src/VBox/VMM/testcase/tstVMREQ.cpp
===================================================================
--- /trunk/src/VBox/VMM/testcase/tstVMREQ.cpp	(revision 41293)
+++ /trunk/src/VBox/VMM/testcase/tstVMREQ.cpp	(revision 41294)
@@ -284,4 +284,10 @@
          * Cleanup.
          */
+        rc = VMR3PowerOff(pVM);
+        if (!RT_SUCCESS(rc))
+        {
+            RTPrintf(TESTCASE ": error: failed to power off vm! rc=%Rrc\n", rc);
+            g_cErrors++;
+        }
         rc = VMR3Destroy(pVM);
         if (!RT_SUCCESS(rc))
