Lines Matching refs:session

591             CHECK_ERROR(machine, LaunchVMProcess(a->session, sessionType.raw(),
624 a->session->UnlockMachine();
648 /* we have to open a session for this task */
649 CHECK_ERROR_BREAK(machine, LockMachine(a->session, LockType_Write));
653 CHECK_ERROR_BREAK(a->session, COMGETTER(Machine)(sessionMachine.asOutParam()));
656 CHECK_ERROR_BREAK(a->session, UnlockMachine());
685 /* we have to open a session for this task */
686 CHECK_ERROR_BREAK(machine, LockMachine(a->session, LockType_Write));
690 CHECK_ERROR_BREAK(a->session, COMGETTER(Machine)(sessionMachine.asOutParam()));
693 CHECK_ERROR_BREAK(a->session, UnlockMachine());
806 /* open an existing session for the VM */
807 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
808 /* get the session machine */
810 CHECK_ERROR_RET(a->session, COMGETTER(Machine)(sessionMachine.asOutParam()), 1);
990 /* open an existing session for the VM */
991 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
993 /* get the session machine */
995 CHECK_ERROR_RET(a->session, COMGETTER(Machine)(sessionMachine.asOutParam()), 1);
997 /* get the session console */
998 CHECK_ERROR_RET(a->session, COMGETTER(Console)(console.asOutParam()), 1);
1004 a->session->UnlockMachine();
1008 /* open a session for the VM */
1009 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Write), 1);
1011 /* get the mutable session machine */
1013 a->session->COMGETTER(Machine)(sessionMachine.asOutParam());
1021 a->session->UnlockMachine();
1060 /* open an existing session for the VM */
1061 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
1062 /* get the session machine */
1064 CHECK_ERROR_RET(a->session, COMGETTER(Machine)(sessionMachine.asOutParam()), 1);
1065 /* get the session console */
1066 CHECK_ERROR_RET(a->session, COMGETTER(Console)(console.asOutParam()), 1);
1071 a->session->UnlockMachine();
1075 /* open a session for the VM */
1076 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Write), 1);
1078 /* get the mutable session machine */
1080 a->session->COMGETTER(Machine)(sessionMachine.asOutParam());
1084 /* commit and close the session */
1086 a->session->UnlockMachine();