Is it possible to run QNX neutrino RTOS with native/full virtualization on microkernal based VMM? - qnx

Is it possible to run QNX neutrino RTOS with native/full virtualization on microkernal based VMM (like CodeZero, Sel4,
PikOS)?
I read Linux and android support full virtualization and it is possible to run them on any VM without modifying
the kernel. Does the same possible with QNX? or QNX only supports para virtualization?
Is there any reference
documentation on QNX virtualization?
I knew QNX provides its own hypervisor. But i am trying on other hypervisors.
I am new to both QNX and virtualization. I apologize if the question is not properly framed or unclear. In that case, do mention in comments.

Related

How does linux virtual machine in windows use GPU in workstation?

Recently I have a framework which can run in Linux only, but I am used to work on windows.I know that Nvidia-docker doesn't support windows, so I have to choose install double system in one host or use a virtual machine allocated as Linux.Maybe I prefer the latter.So I want to know if the virtual machine can use GPU in host or in workstation? What should I do to solve this problem? Better method hoped! Thanks!
For VMWare: https://www.dell.com/support/article/en-us/sln288103/how-to-enable-a-vmware-virtual-machine-for-gpu-pass-through?lang=en
And Hyper-V also can pasthrough GPU: https://social.technet.microsoft.com/Forums/en-US/b9e21b8f-8774-49c2-b499-b2b8ff2a41a2/hyperv-windows-10-pci-passthrough?forum=win10itprovirt

Integrating a RTOS like Erika Enterprise on a hypervisor that can run AUTOSAR application?

I'm new to automotive applications and trying to understand the stack for automotive systems. My goal is to implement a system where I can test AUTOSAR applications.
Currently, I'm looking to implement this using the following configuration below:
x86_64, Common Desktop PC (Hardware)
Xen (Hypervisor)
Erika Enterprise (RTOS, run as guest VM)
RT-Druid (for Erika/AUTOSAR application development, on a different development machine)
There is already
reference material
on how to setup Xen and Erika on x86 hardware.
Questions:
How do I run an Erika/AUTOSAR application on this setup. Lets say a simple "Hello World" example. Do I simply copy and paste it on my VM and run?
Is there already an implementation of CAN bus on Erika Enterprise? How do I implement this feature on my setup?

enabling Hyper-v in Bios is required for docker to work

Let's make it simple ok,
my device ( windows 10 pro ) is supposed to support ( SLAT ) according to core-info tool
but when I try running system info in me power-shell I see this
VM Monitor Mode Extensions: Yes
Virtualization Enabled In Firmware: Yes
Second Level Address Translation: No
Data Execution Prevention Available: Yes
then when I try to run Docker it's not launching and it shows that I must enable Virtualization in my BIOS
I 've tried all the traditional stuff like :
1- in your PowerShell type
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All
2- try to reboot your pc and make sure virtualization is enabled in BIOs setting (I did but it didn't solve my problem.
3- I tried to enable Hyper-v using windows features turn them on or off
I expect to be able to run docker
As seen in this thread, that could be a processor issue.
Second Level Address Translation (SLAT), also known as nested paging, is a hardware-assisted virtualization technology which makes it possible to avoid the overhead associated with software-managed shadow page tables.
The thread includes links to know if your processor supports the function of not.
Regarding VirtualBox, this is what the legacy Docker Toolbox uses.
If it is not working either, you could try and use (with VirtualBox 6.x) a nested virtualization approach, as explained here, activating a Windows sandbox.

How to install Torch on windows 8.1?

Torch is a scientific computing framework with wide support for machine learning algorithms. It is easy to use and efficient, thanks to an easy and fast scripting language, LuaJIT, and an underlying C/CUDA implementation.
Q:
Is there a way to install torch on MS Windows 8.1?
I got it installed and running on Windows (although not 8.1, but I don't expect the process to be different) following instructions in this repository; it's now deprecated, but wasn't deprecated few months ago when I built it. The new instructions point to torch/torch7 repository, but it has a different structure and I haven't been able to build it on Windows yet.
There are instructions on how to install Torch7 from luarocks, but you may run into issues on windows as well; I haven't tried this process. It seems like there is no official support for Windows yet, but some work is being done by contributors (there is a link to a pull request in that thread).
Based on my experience, compiling that deprecated repo may be your best option on Windows at the moment.
Update (7/9/2015): I've recently submitted several changes that fix compilation issues with mingw, so you may try the most recent version of torch7 and follow the build instructions in the ticket. Note that the changes only apply to the core lib and additional libraries may need similar changes.
This webpage hosted by New York University recommends installing a Linux virtual machine in order to run Torch7 on Windows through Linux. Another option would off course be to install a Linux dist in parallel with Windows 8.
Otherwise, if you don't mind running an older version of Torch, there is a Windows installer for Torch5 at SourceForge.
I think to use a GPU from inside the virtual machine, the processor and the motherboard should not only support VT-x , but VT-d should be supported too.
But the question is, if I use a CPU with VT-d supported, do you think there will be a significant loss in PCIe connections efficiency?
From what I understand,
VT-d is important if I want to give the virtual machines direct access to my hardware components (like PCI Express cards). Like directly attach graphics card to vm instead of host machine. Isn't that mean that the PCIe connections efficiency will be the same just like if it was the host?

What value puts Jam in its builtin variable $(OS) on QNX Neutrino hosts?

I have to configure my compilation depending on build hosts. Windows and Linux are easy and I have access to the build hosts to test it myself anyway.
What I have so far completely failed to find are the values of $(OS) and, just to check my expectations, $(OSPLAT). I assume OSPLAT to be X86 on x86 machines, similar to other QNX supported SDP packages
If anyone has access to a QNX/Neutrino system with installed QNX SDP, the Jam script below can produce the result:
Echo $(OS) $(OSPLAT) ;
I had a look at Jam source and it seems that depending on the platform version it is either QNX or QNXNTO. See jam.h for more details and OSPLAT values.

Resources