[arch-general] Virtualbox hosting qemu-kvm guests
Hi This is my first posting so bear with me. I am trying to get qemu-kvm to work inside Virtualbox, but when I try to #modprobe the kvm-intel or kvm_intel module, it errors stating that operation is not permitted. Is qemu known to run inside virtualbox? The host hardware is an i7 that supports hardware virtualization fine. I have qemu running natively on the same box so it is confusing, but want to use VB also. Thanks in advance.
Virtualbox and qemu-kvm are two separate hypervisors and, as far as I know, they are not compatible with each other. In order for Virtualbox to run, you need to have the vboxdrv module loaded. Here are the wiki pages for more info. https://wiki.archlinux.org/index.php/Virtualbox https://wiki.archlinux.org/index.php/QEMU Squall -- Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why its called the present. Headmaster Squall :: The Wired/Section-9 Close the world txen eht nepo $3R14L 3XP3R1M3NT$ #L41N https://github.com/headmastersqual <http://twitter.com/headmastersqual>l
On 20 November 2012 19:34, Steve P. <public@milehightexas.net> wrote:
Hi
This is my first posting so bear with me.
I am trying to get qemu-kvm to work inside Virtualbox, but when I try to #modprobe the kvm-intel or kvm_intel module, it errors stating that operation is not permitted.
Is qemu known to run inside virtualbox? The host hardware is an i7 that supports hardware virtualization fine.
I have qemu running natively on the same box so it is confusing, but want to use VB also.
Thanks in advance.
That can't work, because you don't have access to the HW virtualization from the guest. That's because CPU virtualization is basically nothing more than an additional CPU ring (ring-1) where the guest runs. To allow guests in guests in guests... there would have to be recursion in the HW itself (which I dare to say is impossible, there will always be a limit). Lukas
On 21/11/12 10:01, Lukas Jirkovsky wrote:
On 20 November 2012 19:34, Steve P. <public@milehightexas.net> wrote:
Hi
This is my first posting so bear with me.
I am trying to get qemu-kvm to work inside Virtualbox, but when I try to #modprobe the kvm-intel or kvm_intel module, it errors stating that operation is not permitted.
Is qemu known to run inside virtualbox? The host hardware is an i7 that supports hardware virtualization fine.
I have qemu running natively on the same box so it is confusing, but want to use VB also.
Thanks in advance.
That can't work, because you don't have access to the HW virtualization from the guest.
That's because CPU virtualization is basically nothing more than an additional CPU ring (ring-1) where the guest runs. To allow guests in guests in guests... there would have to be recursion in the HW itself (which I dare to say is impossible, there will always be a limit).
Lukas
It can work. KVM supports nested support for their virtual machines which make it possible to run VirtualBox inside a KVM Guest. You will need VMX for it to work ( or the AMD counterpart ) and i don't think virtualbox supports this feature. http://networkstatic.net/nested-kvm-hypervisor-support/
participants (4)
-
Jelle van der Waa
-
Lukas Jirkovsky
-
Squall Lionheart
-
Steve P.