Updated: April 19, 2023 |
Provide socket functionality to guests running in hypervisor VMs
vdev virtio-vsock guest_cid [loc addr intr gic:vector]
(ARM and x86) To use virtual sockets in a guest, the vdev-virtio-vsock device must be added to the VM in which the guest runs. This is done through a command in the qvm configuration file for this VM. The mandatory guest_cid option uniquely identifies the guest in the hypervisor system. Some target platforms require additional options.
# For an i.MX8QM MEK or QC 8155 target, we need to specify the location and interrupt. # To learn about these properties, see the QNX Hypervisor documentation. vdev virtio-vsock guest_cid 3 loc 0x1c0f6000 intr gic:46 # For a NUC target, we don't need to specify the location and interrupt. vdev virtio-vsock guest_cid 3
For details on defining qvm configuration files, including their structure, contents, and syntax, see the Assembling and configuring VMs section in the QNX Hypervisor User's Guide.