How to use virtualization on guest VM (windows 8.1) in virtualbox which is on a virtualization enabled CPU running Windows 7? - windows-8.1

I have a 16GB laptop running on Intel core i7 processor. I have Windows 7 Enterprises installed on this machine. Now, I need to do some work around the Windows 8.1 Pro and need to run the emulator on Windows 8.1 Pro.
So, I have installed the virtualbox on my machine and installed the Windows 8.1 Pro on a VM in virtualbox.
I have enabled the Virtualization on my machine using the BIOS settings, but it is not reflected in the Windows 8.1 VM. And I have to enable the Hyper-V Platform from windows features for running the emulator, but it is not possible until virtualization is reflected in Windows 8.1 VM as well.
So, please help me in achieving this.

What you are trying to achieve is called nested virtualization (i.e. the ability to run a virtual machine into another). Unfortunately, it seems that VirtualBox does not support nested virtualization. You can try other virtualization solutions that support this feature (like VMware Player).

Related

Intel HAXM doesn't run on AMD and I've turned off Hyper-V

Event Viewer says there are no Hyper-V operations, and they're off in services. I turned on SVM in BIOS, but still, it gives me an error that HAXM can't be installed because I either have Hyper-V on or SVM is off.
If you boot Windows with HyperV enabled, it will then permanently have exclusive access to hardware virtualization, regardless of any HyperV guests actually running. You need to entirely disable HyperV through the Windows Features function, reboot, and then you should be fine. It's a kinda weird quirk of HyperV.

HoloLens emulator on a virtual machine

I'm trying to develop for HoloLens but my laptop doesn't support the needed specs, so I was trying to figure out a virtualized solution (namely, using an Azure VM).
After unsuccessfully running the emulator on the Azure VM, I found that according to Microsoft (https://technet.microsoft.com/en-gb/library/hh831531), "The Hyper-V role is not supported on a Microsoft Azure virtual machine", which kills that idea.
Does anyone know of an alternative virtual option for developing and running the HoloLens emulator, which doesn't rely on the host machine's (i.e. my laptop) specs?
Yes, in the latest version of Unity which is Unity 5.5, there's a new feature called "Holographic Emulation" that will enable you to run on a simulated device directly in the editor.
As for the requirements, you need to have
Unity 5.5 installed in your machine
Windows 10 Anniversary Update (or later) installed
Here's the link to the blog in case you want to check more details about the simulator
Hololens emulator IS the Hyper-V virtual machine with Windows 10 and 3D graphic capabilities. The host machine should be able to run Hyper-V (CPU/BIOS limitation) and have a 3D adapter. More details are here:
https://learn.microsoft.com/en-us/windows/mixed-reality/using-the-hololens-emulator
Then you could install the emulator from
https://learn.microsoft.com/en-us/windows/mixed-reality/install-the-tools
Hololens emulator is not supported in VM due to CPU limitation, you can use holographic simulation in Unity instead.

Enabling the VT-x inside a virtual machine

I work in Ubuntu from Oracle Virtual Machine which is installed on top of Windows.
I have activated the VT-x feature in the host BIOS. After this I created a new virtual machine with VT-x and EPT enabled.
Now I run
$ egrep '(vmx|svm)' /proc/cpuinfo
from the guest to check if the vmx feature is enabled and the answer is 0, i.e. not enabled.
How can I enable this feature on the guest VM?
#asked There are three most common reasons for this error:
Your CPU doesn’t support VT-x or AMD-V virtualization
VT-x or AMD-V is not enabled in BIOS (UEFI)
You have Hyper-V virtualization enabled in Windows
You can't enable VT-x inside Virtualbox. There's a ticket for it that hasn't been fixed yet
[Edit by klaus 2018-05-06:]
This feature is being worked on for a while. Once the implementation is complete and tested it will be available to all users.
[feature-request] Nested Virtualization: VT-in-VT
It's possible to run nested VMs with Hyper-V and VMWare ESX or ESXi though
Run Hyper-V in a Virtual Machine with Nested Virtualization
How to enable VT-X on VM
Is it possible to use VMX CPU instructions inside VM?
How to enable VT-x inside a Virtual Machine inside a Virtual Machine
Is it possible to setup a virtual machine inside another virtual machine
How to run VMWare ESX or ESXi in a virtual machine?
Nested virtualization - is it possible?
However it does need EPT to run. Make sure your host CPU has EPT support. Without EPT you can only run 32-bit VMs using binary translation
Intel VT-x or AMD-V is required for running “Nested Virtualization” which supports nested 32-bit VMs
Intel EPT or AMD RVI is required for running nested 64-bit VMs.
https://www.virtuallyghetto.com/2012/08/how-to-enable-nested-esxi-other.html
Some hypervisors do refuse to run if it found out that it's running inside a virtual machine or in a virtual machine some levels deep. That said, it's possible to run arbitrarily deep nested virtual machines using binary translation or an emulator like Bochs or qemu
Can you run a machine emulator (Bochs) inside a virtual machine?
Both on Windows and Linux you can manage the VMs from the command line using VBoxManage tool as long as the Vt-d is enabled in the BIOS. I'm not clear on why the nested-VTX function in the VirtualBox VM parameter appears "uncheckable" or unavailable anyhow. I've found this command very handy for the case:
VBoxManage modifyvm [name_of_vm] --nested-hw-virt on
After that you can verify at parameters>system>processor how VT-x is indeed activated.

Can I develop for Windows Phone 8 while using an Azure VM?

Title says it. There are not strong enough words in the English language that can express my hatred of Windows 8. I will not install it on my personal machine.
I was hoping to create an Azure VM and do my development there. But Windows 8 was not an option for a VM. So on a whim I created a 2012 Server VM and downloaded and installed the Windows 8 SDK. It installed fine.
I created a Hello World application and tried to run it. I got an error saying that Hyper-V was required. I used Coreinfo.exe to check and it says Hyper-V is not supported. So am I SOL?
The Windows Phone 8 emulator requires Client Hyper-V, which is a new feature of Windows 8. The emulator is an x86 virtual machine, which runs an x86 build of Windows Phone 8, and makes use of the RemoteFX technology for hardware virtual GPU support. It's so it runs at a high percentage of real device performance, and is very closely compatible.
Unfortunately, for hardware reasons, Hyper-V cannot be nested. In the Intel and AMD processor virtualization models, a guest operating system cannot itself be a nested hypervisor.
RemoteFX requires Second Level Address Translation. How to check if your processor supports it.
If you want to use the emulator, I'm afraid you have to install Windows 8. You can always dual-boot. Alternatively, get a phone developer-unlocked so you can debug on real hardware.

Getting Microsoft Virtual PC to Work on Linux

Has anyone tried to get Windows 7/8 running on linux with the Microsoft Virtual PC download directly from Microsoft? It doesn't seem to be working using the default Boxes or Virtual Machine (QEMU) in CentOS / Red Hat?
SETTINGS:
Base Memory 1024 MB
Video Memory 128 MB
Network Adapter: Intel PRO/1000 MT Desktop (NAT)
Windows Virtual Box (from Microsoft)
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11575
forward to http://dev.modern.ie/
Is there any chance Microsoft or modern.ie will just release an iso install rather then a native Virtual System File?
It sounds like you're trying to get Microsoft's IE Virtual PC images working in VirtualBox (not Virtual PC itself).
Luckily there is a tool available to automate the process of converting the images and getting them to work in VirtualBox. Take a look at ievms.
Check http://www.modern.ie/en-us/virtualization-tools#downloads
This images are legal as modern.ie launched by Microsoft.
Site provide a wide range of up-today Windows images for Windows/Mac/Linux.
Microsoft Virtual PC downloads from http://dev.modern.ie/ (MS) only support Virtual Box on linux and not the Virtual Machine Manager that comes with CentOS.

Resources