Controlling a QNX virtual machine
After you create a QNX Virtual Machine target connection, you can control the target QNX VM by starting and stopping it, and rebuilding it with the same or different configuration settings.
Starting
- Right-click the target in the Project Explorer or Target Navigator
and choose Start Virtual Machine from the context menu.
The IDE starts the VM. VMware or VirtualBox VMs start within their respective workstations, and QEMU VMs start in a new console.
Stopping
- Right-click the target in the Project Explorer or Target Navigator
and choose Stop Virtual Machine from the context menu.
If the target is a VMware or VirtualBox VM, the IDE stops and closes the VM. If it's a QEMU VM, the IDE terminates the QEMU process.
Rebuilding
- Right-click the target in the Project Explorer or Target Navigator
and choose Rebuild Virtual Machine from the context menu.
The IDE calls mkqnximage with the same options as before to regenerate the same VM and system image. If this operation succeeds, the IDE restarts the VM.
- Click the button (
) on the right of the target connection name in the Launch Target dropdown.
This opens the same configuration settings dialog that you used when creating the VM.
- Edit the settings as needed. For instance, you can enter a different IP address for the IDE to try and connect to.
- Click Finish.
The IDE calls mkqnximage with options based on your newly configured settings to regenerate the VM and system image. If this operation succeeds, the IDE restarts the VM.
Deleting
- Right-click the target in the Project Explorer or Target Navigator and choose Delete from the context menu.