Author: cwittich Date: Sun Aug 9 18:50:16 2009 New Revision: 42567
URL: http://svn.reactos.org/svn/reactos?rev=42567&view=rev Log: wait after killing the vm to give libvirt a chance to release resources
Modified: trunk/tools/sysreg2/console.c trunk/tools/sysreg2/virt.c
Modified: trunk/tools/sysreg2/console.c URL: http://svn.reactos.org/svn/reactos/trunk/tools/sysreg2/console.c?rev=42567&a... ============================================================================== --- trunk/tools/sysreg2/console.c [iso-8859-1] (original) +++ trunk/tools/sysreg2/console.c [iso-8859-1] Sun Aug 9 18:50:16 2009 @@ -160,7 +160,7 @@ }
/* Output the line, raddr2line the included addresses if necessary */ - if (ResolveAddressFromFile(Raddr2LineBuffer, BUFFER_SIZE, Buffer)) + if ((KdbgHit == 1) && (ResolveAddressFromFile(Raddr2LineBuffer, BUFFER_SIZE, Buffer))) printf("%s", Raddr2LineBuffer); else printf("%s", Buffer);
Modified: trunk/tools/sysreg2/virt.c URL: http://svn.reactos.org/svn/reactos/trunk/tools/sysreg2/virt.c?rev=42567&... ============================================================================== --- trunk/tools/sysreg2/virt.c [iso-8859-1] (original) +++ trunk/tools/sysreg2/virt.c [iso-8859-1] Sun Aug 9 18:50:16 2009 @@ -228,6 +228,8 @@ virDomainUndefine(vDom); virDomainFree(vDom);
+ sleep(1); + /* If we have a checkpoint to reach for success, assume that the application used for running the tests (probably "rosautotest") continues with the next test after a VM restart. */