- Code: Select all Expand viewCollapse view
machine.LaunchVMProcess(null, "emergencystop", null);
I sometimes get an error:
"The machine [blah] is not locked by a session"
However if I try to establish a lock before i call it:
- Code: Select all Expand viewCollapse view
machine.LockMachine(session, LockType.LockType_VM);
I often get the contrary error (something like) "Session locked by another user".
What is the correct usage of the emergencystop command? From the documentation it reads like it shouldnt need a lock, because the whole purpose is to terminate a machine that is in use/locked by another user. Am I missing something?
thx
Steve