Is there a QNX virtual machine for QEMU - virtual-machine

I am developing on a Windows machine but I have to test it on a PowerPC running QNX. I don't have constant access to the PowerPC, and I just can use it for some test. I was wondering if I could debug my code on a QNX virtual machine on QEMU emulating the PowerPC.
I have found the QEMU binaries for Windows here but I can not find the QNX VM for QEMU. Has anyone done this before?

You don't want your target platform to be PPC all the time. Build your software for x86, test it and recompile it for PPC when you have access to the device. Just make sure your code is portable.
Use VMWare Player or Workstation to install QNX and configure your tools to use the virtual machine for build and debug. That will speed up your development process dramatically!

Related

Bootloader Written for Java

Is there a boot loader written for booting Java virtual machine without an operating system? As far as I know Java virtual machine can run on a machine by itself, without help of an operating system.
Java defines the guest language, not the host / JVM.
You'd need a JVM written to run on bare-metal of whatever machine you want to run it on. (i.e. to be an OS kernel as well as a JVM, handling interrupts and so on). So there isn't something generic called "Java" that a bootloader could load.
The mainstream JVMs like OpenJDK / HotSpot are not written to work as kernels, only to run under some existing mainstream OSes. But as you found, there are some: Can you run JVM on a computer with no operating system?
Even for a specific platform, the things a kernel needs a bootloader to do may depend on the kernel. There are a few standards, like multiboot for x86, that define a kernel file format that bootloaders like GRUB know how to recognize and load, but otherwise you'd probably expect a bare-metal JVM to come with its own custom bootloader, especially if it's for a platform other than an x86 PC. Or perhaps be bootable as an "EFI application".

Can QEMU support VT-x/AMD-v like VirtualBox in Windows

The host is windows(xp and win7). The guest is a Android which build with x86 ABI by myselves.
I know if QEMU work with intel HAXM like google official emulator, it can support VT-x. But the big problem is HAXM NOT support AMD. And KVM support VT-x/AMD-v, but KVM can't use on Windows. So are there any other ways to let windows QEMU support VT-x/AMD-v like VirtualBox and VMware?
ps. In abstractive, for QEMU supporting CPU hardware virtualization, the function role of HAXM is just like KVM, is my understanding right?
On linux, KVM can support VT-x/AMD-v.
But on windows, I don't know.

What exactly is QEMU? Emulator? VM?

I am trying to make a use of QEMU in my embedded software development process. I think it will be useful for me to run my code without having to touch the hardware. Especially when the software is sitting in the user-space of Linux. Now, I am trying to get my head wrapped around the big concepts in QEMU.
At what point is QEMU virtualizing the hardware? Can I assume it virtualizes x86 when the host platform is also x86 with virtualization technology built into the processor?
In other words, can I assume QEMU is emulating the hardware when the target platform is not the same as host platform?
It's a general-purpose emulator software (type 2 hypervisor) which can use virtualization when the target and hosts are of the same architecture. In Linux you need to enable the KVM kernel module to be able to use the virtualization technology of the processor.

is it possible to install ESXi on linux?

ESXi installs on a physical machine separately. I mean it's not a software which installs on an OS like a Linux machine. Am I right?
I need something like ESXi server to be installed on a CentOS 5 physical machine.
What's your suggestion?
ESXi is a Hypervisor which installs directly onto hardware. Its almost like a mini OS if you like, so you can't install that on Linux. Software which will provide virtualization on top on the OS will be the likes of KVM, Xen or VirtualBox which would be better suited for you (sounds like it anyway)
Have a look at this link

Is there any way to run 64bit Virtual Machine on 64bit processor without hardware virtualization (amd-v, vt-x)?

We have a 64bit virtual machine (CentOS) that we'd like to run on 64bit host-machine (may be running under any OS), but that host-machine doesn't support hardware virtualization, which, you know, should be for running 64bit virtual machines in it.
I tried VirtualBox and VMware Player, but they both have this issue with non-hardware-virtualization processor. I thought maybe another virtualization system may help, like OpenVZ or XEN or KVM? What do you think?
Thanks in advance!
Qemu http://www.qemu.org/ can virtualise architectures without hardware support (even ARM, MIPS, etc). However, it will probably be a lot slower than using qemu-kvm with virtualisation hardware.