tstVMM.cpp revision 4ae0468b4ae87a83e1a5f8c4f98ff78e840fde85
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * VMM Testcase.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * Copyright (C) 2006-2007 Sun Microsystems, Inc.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * This file is part of VirtualBox Open Source Edition (OSE), as
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * available from http://www.virtualbox.org. This file is free software;
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * you can redistribute it and/or modify it under the terms of the GNU
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * General Public License (GPL) as published by the Free Software
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * Foundation, in version 2 as it comes in the "COPYING" file of the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * Clara, CA 95054 USA or visit http://www.sun.com if you need
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * additional information or have any questions.
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw/*******************************************************************************
12b65585e720714b31036daaa2b30eb76014048eGordon Ross* Header Files *
12b65585e720714b31036daaa2b30eb76014048eGordon Ross*******************************************************************************/
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw/*******************************************************************************
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw* Defined Constants And Macros *
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw*******************************************************************************/
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States#define TESTCASE "tstVMM"
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * Create empty VM.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * Do testing.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw rc = VMR3ReqCall(pVM, VMREQDEST_ALL, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)VMMDoTest, 1, pVM);
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * Cleanup.
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States RTPrintf(TESTCASE ": error: failed to destroy vm! rc=%d\n", rc);
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego RTPrintf(TESTCASE ": fatal error: failed to create vm! rc=%d\n", rc);