QEMU with support for DPAA2 direct assignments

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QEMU with support for DPAA2 direct assignments

269 Views
cvachoucek
Contributor I

Hello all,

I'd like to ask a question about QEMU for the Layerscape platforms (e.g. LX2160A), with support for the DPAA2 direct assignment (vfio-fsl-mc).

This feature is not supported by the upstream QEMU, it is available only in the NXP-patched version of QEMU (https://github.com/nxp-qoriq/qemu). But the NXP-patched QEMU is based on QEMU version 4.2.1, which is a bit old these days (released almost 4 years ago). The current upstream version of QEMU is version 8.2.1. Are there any plans to update the NXP-patched QEMU to a newer version?

Thank you

Petr

 

0 Kudos
Reply
1 Reply

259 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

As of today (and for what we could find) there is no plan on supporting QEMU. We do apologize for this.

It was no inconvenience, we thank you for your continual usage of our platforms.

However Please enable KVM in the host Linux Kernel

the virtualization menu of the main kernel menuconfig window.

[*] Virtualization

Core KVM support is enabled as follows:

[*] Kernel-based Virtual Machine (KVM) support

 

Please add “qemu” in variable IMAGE_INSTALL_append in sources/meta-qoriq/recipes-fsl/images/fsl-image-networking.bb, then run “bitbake fsl-image-networking” to rebuild rootfs filesystem.

 

Then run qenu as the following on Lx2160

qemu-system-aarch64 -enable-kvm -nographic -machine type=virt -cpu host -kernel /media/ram/Image -append "root=/dev/ram rw console=ttyAMA0,115200 ramdisk_size=1000000"   -initrd /media/ram/fsl-image-networking-ls2160.ext2.gz -m 512

 

Regards

0 Kudos
Reply