Hello @Shivu_Guru_24
As you can see in the i.MX8QM datasheet:

It has 2 Cortex M4 processors.
So, you can run heterogeneous processing, running Linux in Cortex A, and run RTOS in Cortex M, in an independent way.
So, you do not need to use any hypervisor.
Best regards,
Salas.