I'm running the latest version of VirtualBox (6.1.18 r142152) on OSX 10.15.3 (Catalina).
I have a VM running Ubuntu 20.04 with a 5.8.0 kernel. It has nested virtualization turned on. However, when I try launching a VM inside it, the VM crashes (guru meditation). I've tried the same with a CentOS VM, same result.
Is nested virtualization expected to work on Intel based Macs?
Nested virtualization causes guru meditation
-
- Posts: 5
- Joined: 12. Mar 2021, 17:03
Nested virtualization causes guru meditation
Last edited by soreisanerd on 12. Mar 2021, 23:44, edited 1 time in total.
-
- Volunteer
- Posts: 5668
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Nested virtualization causes guru meditation
In general, yes. Please post a zip file containing the VBox.log files from the 1st and 2nd level VM, and we'll take a look.soreisanerd wrote:Is nested virtualization expected to work on Intel based Macs?
-
- Posts: 5
- Joined: 12. Mar 2021, 17:03
Re: Nested virtualization causes guru meditation
Second level VM is kvm, not VirtualBox. Is only VirtualBox supported?
-
- Posts: 5
- Joined: 12. Mar 2021, 17:03
Re: Nested virtualization causes guru meditation
This is the log from the first level vbox.
- Attachments
-
- vboxlog.zip
- (179.53 KiB) Downloaded 10 times
-
- Volunteer
- Posts: 5668
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Nested virtualization causes guru meditation
According to 9.33. Nested Virtualization and my own simple tests (qemu-system-x86_64 -enable-kvm), QEMU/KVM is supported. But you have the same Guru Meditation as some other users that tried either an Android emulator or GNS3 inside a Linux VM lately without success. What are you trying to run inside the 2nd level VM? I'd suggest to create a ticket in the Bugtracker.soreisanerd wrote:Second level VM is kvm, not VirtualBox. Is only VirtualBox supported?
-
- Posts: 5
- Joined: 12. Mar 2021, 17:03
Re: Nested virtualization causes guru meditation
Can you tell me which OS you're running in your (first level) VM? I've tried both Ubuntu and CentOS with identical results.fth0 wrote:According to 9.33. Nested Virtualization and my own simple tests (qemu-system-x86_64 -enable-kvm), QEMU/KVM is supported..soreisanerd wrote:Second level VM is kvm, not VirtualBox. Is only VirtualBox supported?
It appears what I try to run inside the 2nd level VM doesn't matter. Even trying to boot an empty file causes it to happen, too.fth0 wrote:But you have the same Guru Meditation as some other users that tried either an Android emulator or GNS3 inside a Linux VM lately without success. What are you trying to run inside the 2nd level VM? I'd suggest to create a ticket in the Bugtracker.
-
- Volunteer
- Posts: 5668
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Nested virtualization causes guru meditation
I'm running macOS High Sierra 10.13.6 on the host with VirtualBox 6.1.18, and Linux Mint 20 (based on Ubuntu 20.04) in the 1st level VM.soreisanerd wrote:Can you tell me which OS you're running in your (first level) VM? I've tried both Ubuntu and CentOS with identical results.
Even running only qemu-system-x86_64 -enable-kvm (without a file)? If yes, then please provide another VBox.log file. If you need more, please provide a minimal QEMU command, so that I can try the same.soreisanerd wrote:It appears what I try to run inside the 2nd level VM doesn't matter. Even trying to boot an empty file causes it to happen, too.
-
- Posts: 5
- Joined: 12. Mar 2021, 17:03
Re: Nested virtualization causes guru meditation
Just "qemu-system-x86_64 -enable-kvm" causes it. Nothing else is needed. Not even a filename.Even running only qemu-system-x86_64 -enable-kvm (without a file)? If yes, then please provide another VBox.log file. If you need more, please provide a minimal QEMU command, so that I can try the same.
-
- Volunteer
- Posts: 5668
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Nested virtualization causes guru meditation
If you tried to provide another VBox.log file (as requested), it didn't work.