| 1886 | | This operation can take some time, so the progress object |
|---|
| 1887 | | is returned to let the caller be informed when the session is |
|---|
| 1888 | | actually open. Until then, the remote session object remains in |
|---|
| 1889 | | the closed state and accessing the machine or its console through |
|---|
| 1890 | | it is invalid. |
|---|
| | 1885 | This operation can take some time (a new VM is started in a new process, |
|---|
| | 1886 | for which memory and other resources need to be set up, which can take |
|---|
| | 1887 | a few seconds). Because of this, a progress object is returned to allow the |
|---|
| | 1888 | caller to wait for this asynchronous operation to be completed. Until then, |
|---|
| | 1889 | the remote session object remains in the closed state and accessing the |
|---|
| | 1890 | machine or its console through it is invalid. It is recommended to use |
|---|
| | 1891 | <link to="IProgress::waitForCompletion" /> or similar calls to wait for |
|---|
| | 1892 | completion. |
|---|
| 4091 | | beem saved. |
|---|
| | 4093 | been saved. |
|---|
| | 4094 | |
|---|
| | 4095 | <note> |
|---|
| | 4096 | Unless you are trying to write a new VirtualBox front-end that |
|---|
| | 4097 | performs direct machine execution (like the VirtualBox or VBoxSDL |
|---|
| | 4098 | front-ends), don't call <link to="IConsole::powerUp"/> in a direct |
|---|
| | 4099 | session opened by <link to="IVirtualBox::openSession"/> and use this |
|---|
| | 4100 | session only to change virtual machine settings. If you simply want to |
|---|
| | 4101 | start virtual machine execution using one of the existing front-ends |
|---|
| | 4102 | (for example the VirtualBox GUI or headless server), simply use |
|---|
| | 4103 | <link to="IVirtualBox::openRemoteSession"/>; these front-ends |
|---|
| | 4104 | will power up the machine automatically for you. |
|---|
| | 4105 | </note> |
|---|
| 9769 | | start virtual machine execution using one of the existing frontends |
|---|
| 9770 | | (for example the VirtualBox GUI frontend), use |
|---|
| 9771 | | <link to="IVirtualBox::openRemoteSession"/>. In the latter case, on |
|---|
| 9772 | | sucess, the machine will be powered up for you by the front-end so you |
|---|
| 9773 | | don't need to call <link to="IConsole::powerUp"/> too. |
|---|
| | 9783 | start virtual machine execution using one of the existing front-ends |
|---|
| | 9784 | (for example the VirtualBox GUI or headless server), simply use |
|---|
| | 9785 | <link to="IVirtualBox::openRemoteSession"/>; these front-ends |
|---|
| | 9786 | will power up the machine automatically for you. |
|---|