Updated: October 28, 2024 |
Provide VPU decoder functionality to guests running in hypervisor VMs
vdev virtio-video-decoder [loc addr intr intr] [log_level level]
Level 10 represents Debug 6, which is the most verbose debugging level, while 6 represents Debug 1, which is the least verbose debugging level. The default setting is 5, which means informational and more severe messages get logged. Levels 4 and 3 respectively cause warnings and errors to be logged. Currently, values below 3 don't generate any additional message logging, but are reserved for future usage.
(ARM and x86) This vdev provides guests with access to VPU decoder functionality in the hypervisor host. In this release, video decoding (but not encoding) is supported, so guests can play video on the host's displays.
If the host is an x86-based platform, or if a PCI server is set up in a guest, you can omit the loc and intr options. In this case, the vdev presents itself to the guest via the PCI bus, with the vendor ID/device ID pair 0x1C05/0x001F, where 0x1C05 is the BlackBerry vendor ID and 0x001F is the device ID for the decoder device. (You can use the VIRTIO_DT_VIDEO_DECODER constant to match the device ID.)
Otherwise, you need to specify these options in the VM configuration file (*.qvmconf) for the guest; the values you specify are passed to the video decoder driver in the guest. For more information, see Common vdev options in the Virtual Device Reference chapter in the QNX Hypervisor User's Guide.