<base_folder>/<machine_name>/<machine_name>.xmlNote that the configuration of the newly created machine is not saved to disk (and therefore no settings subfolder and file are created) until is called. You should also specify a valid name for the machine. See the property description for more details about the machine name. The created machine remains unregistered until you call .
Opens a new direct session with the given virtual machine. Within the direct session context, it is possible to change all VM settings, as well as to execute the VM in the process space of the session object. There can be only one direct session open at a time for every virtual machine.
Upon successful return, the session object can be used to get access to the machine and to the VM console.
Opens a new remote session with the given virtual machine. Opening the remote session causes the server to start a new process that opens a direct session with the given VM. The remote session provides some level of control over the VM execution (using the IConsole interface) to the caller. Within the remote session context, it is not possible to change any static VM settings (such as name, HDD configuration, etc.).
This operation can take some time, so the progress object is returned to let the caller be informed when the session is actually open. Until then, the remote session object remains in the closed state and accessing the machine or its console through it is invalid.
Opens a new remote session with the virtual machine for which a direct session is already open. The remote session provides some level of control over the VM execution (using the IConsole interface) to the caller. Within the remote session context, it is not possible to change any static VM settings (such as name, HDD configuration, etc.).
As opposed to , the number of remote sessions opened this way is not limited by the API.
Operation | Meaning | Remarks |
---|---|---|
Save the current state of the virtual machine, including all settings, contents of normal hard disks and the current modifications to immutable hard disks (for online snapshots) | The current state is not changed (the machine will continue execution if it is being executed when the snapshot is taken) | |
Forget the state of the virtual machine stored in the snapshot: dismiss all saved settings and delete the saved execution state (for online snapshots) | Other snapshots (including child snapshots, if any) and the current state are not directly affected | |
Restore the current state of the virtual machine from the state stored in the current snapshot, including all settings and hard disk contents | The current state of the machine existed prior to this operation is lost | |
Completely revert the virtual machine to the state it was in before the current snapshot has been taken | The current state, as well as the current snapshot, are lost |
Bit 0 (0x01) | left mouse button |
Bit 1 (0x02) | right mouse button |
Bit 2 (0x04) | middle mouse button |
Bit 0 (0x01) | left mouse button |
Bit 1 (0x02) | right mouse button |
Bit 2 (0x04) | middle mouse button |