x.y-platformwhere x and y are the major and the minor format versions, and platform is the platform identifier. The current version usually matches the value of the attribute unless the settings file was created by an older version of VirtualBox and there was a change of the settings file format since then. Note that VirtualBox automatically converts settings files from older versions to the most recent version when reading them (usually at VirtualBox startup) but it doesn't save the changes back until you call a method that implicitly saves settings (such as ) or call explicitly. Therefore, if the value of this attribute differs from the value of , then it means that the settings file was converted but the result of the conversion is not yet saved to disk. The above feature may be used by interactive front-ends to inform users about the settings file format change and offer them to explicitly save all converted settings files (the global and VM-specific ones), optionally create bacup copies of the old settings files before saving, etc.
x.y-platformwhere x and y are the major and the minor format versions, and platform is the platform identifier. VirtualBox uses this version of the format when saving settings files (either as a result of method calls that require to save settings or as a result of an explicit call to ).
<base_folder>/<machine_name>/<machine_name>.xmlOptionally the UUID of the machine can be predefined. If this is not desired (i.e. a new UUID should be generated), pass just an empty or null UUID. 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 .
[[group.]subgroup.]namewhere @c name is the property name and @c group, @c subgroup are zero or or more property group specifiers. Each element (group or name) in the property mask may be either a latin string or an asterisk symbol (@c "*") which is used to match any string for the given element. A property mask that doesn't contain asterisk symbols represents a single fully qualified property name. Groups in the fully qualified property name go from more generic (the left-most part) to more specific (the right-most part). The first element is usually a name of the object the property belongs to. The second element may be either a property name, or a child object name, or an index if the preceeding element names an object which is one of many objects of the same type. This way, property names form a hierarchy of properties. Here are some examples of property names:
VirtualBox.version | property |
Machine.<UUID>.name | property of the machine with the given UUID |
VirtualBox.* | Track all properties of the VirtualBox object |
Machine.*.name | Track changes to the property of all registered virtual machines |
original.xml.x.y-platform.bakwhere original.xml is the original settings file name (excluding path), and x.y-platform is the version of the old format of the settings file (before auto-conversion). If the given backup file already exists, this method will try to add the .N suffix to the backup file name (where N counts from 0 to 9) and copy it again until it succeeds. If all suffixes are occupied, or if any other copy error occurs, this method will return a failure. If the copy operation succeeds, the @a bakFileName return argument will receive a full path to the created backup file (for informational purposes). Note that this will happen even if the subsequent call performed by this method after the copy operation, fails.
x.y-platformwhere x and y are the major and the minor format versions, and platform is the platform identifier. The current version usually matches the value of the attribute unless the settings file was created by an older version of VirtualBox and there was a change of the settings file format since then. Note that VirtualBox automatically converts settings files from older versions to the most recent version when reading them (usually at VirtualBox startup) but it doesn't save the changes back until you call a method that implicitly saves settings (such as ) or call explicitly. Therefore, if the value of this attribute differs from the value of , then it means that the settings file was converted but the result of the conversion is not yet saved to disk. The above feature may be used by interactive front-ends to inform users about the settings file format change and offer them to explicitly save all converted settings files (the global and VM-specific ones), optionally create bacup copies of the old settings files before saving, etc.
original.xml.x.y-platform.bakwhere original.xml is the original settings file name (excluding path), and x.y-platform is the version of the old format of the settings file (before auto-conversion). If the given backup file already exists, this method will try to add the .N suffix to the backup file name (where N counts from 0 to 9) and copy it again until it succeeds. If all suffixes are occupied, or if any other copy error occurs, this method will return a failure. If the copy operation succeeds, the @a bakFileName return argument will receive a full path to the created backup file (for informational purposes). Note that this will happen even if the subsequent call performed by this method after the copy operation, fails.
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 |