Actions

Nested Virtualization

From Whonix

Introduction[edit]

It is possible to run Virtual Machines inside Virtual Machines (VMs). That is called Nested Virtualization. [1]

Qubes[edit]

Running VirtualBox, KVM or Qubes inside Qubes is difficult. Not offically supported by the Qubes developers. It is unrelated to Whonix ™. You can learn more about the current state of things by searching the qubes-devel and qubes-users mailing lists for terms such as VirtualBox, KVM and/or nested virtualization.

KVM[edit]

TODO document

VirtualBox inside VirtualBox[edit]

Be sure to change your host key. VirtualBox → Preferences → Input → Host Key. The "outside" and the "inside" Host Key must differ, otherwise you can not leave the VM "inside" anymore.

Using ACPI [2] and IOAPIC [3] [4] for all VM's, speeds up the "inside" VM a lot. These settings are in use for Whonix ™ VMs by default.

VirtualBox does not support VT in VT yet. [5] So the "inside" VM might be slow depending on your host's performance. Inside the "inside" VM, disable VT. VirtualBox → right click on VM → Settings → System → Acceleration → uncheck "Enable VT-x/AMD-V"

Forum discussion:
https://forums.whonix.org/t/nested-visualization-with-whonix-vbox-windows-7-inside-whonix-ws

See Also[edit]

Footnotes[edit]

  1. http://en.wikipedia.org/wiki/Nested_virtualization
  2. vboxmanage "Whonix-Workstation" modifyvm --acpi on
  3. VirtualBox → right click on VM → Settings → System → uncheck "Enable IO APIC"
  4. vboxmanage "Whonix-Workstation" modifyvm --ioapic on
  5. https://www.virtualbox.org/ticket/4032

[advertisement] Looking to Sell Your Company? Contact me.


Don't mind having your name connected to Whonix ™? Follow us on Twitter / Facebook.

https | (forcing) onion
Follow: Twitter.png Facebook.png 1280px-Gab text logo.svg.png Rss.png 1024px-Telegram 2019 Logo.svg.png

Share: Twitter | Facebook

This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation.

Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee of the Open Invention Network. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)

Whonix ™ is a derivative of and not affiliated with Debian. Debian is a registered trademark owned by Software in the Public Interest, Inc.

Whonix ™ is produced independently from the Tor® anonymity software and carries no guarantee from The Tor Project about quality, suitability or anything else.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix ™ is provided by ENCRYPTED SUPPORT LP. See Imprint.