To start two virtual machines which are in "savedstate", I want to use webservice to start them together, not one after another. Since openRemoteSession returns immediately with a iprogress object, I think I just need call openRemoteSession on both virtual machines and then wait for them. But I got "The given session is already open or being opened" when I trid to openRemoteSession on the second VM. See below, any idea why it gave that error? Is it reasonable the session id in step 1 and step 4 are the same? What should I do to make it work? Thanks.
1,IWebsessionManager_getSessionObject - return session id - 452ad4c9d2537d44-0000000000046209 2,IVirtualBox_openRemoteSession - on vm 1 n Keep the returned iprogress 3,ISession_close 4,IWebsessionManager_getSessionObject - return session id - 452ad4c9d2537d44-0000000000046209 5,IVirtualBox_openRemoteSession - on vm 2 - got"The given session is already open or being opened" n Keep the returned iprogress 6,ISession_close 7,waitForCompletion on iprogress 1 8,waitForCompletion on iprogress 2
_______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
