[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] is it possible to run KVM module inside a qemu VM
From: |
Nadav Har'El |
Subject: |
Re: [Qemu-devel] is it possible to run KVM module inside a qemu VM |
Date: |
Sun, 29 Apr 2012 13:48:43 +0300 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
On Sun, Apr 29, 2012, Steven wrote about "is it possible to run KVM module
inside a qemu VM":
> Hi,
> I know there exists nested KVM in the kernel tree such that a KVM
> hypervisor can run inside a guest.
> Now I am wondering if it is possible to load the kvm module in a qemu
> VM (-no-kvm). So I started a qemu VM using the following command
No, I believe this is NOT possible.
KVM, as the top (L0) hypervisor, implements the VMX instructions for the
L1 guest using the hosts' VMX. Qemu, on the other hand, does not have VMX
emulation at all.
Note that before you set out to add VMX instructions emulation, you need
to also consider the option of emulating SVM (AMD's virtualization
extensions) instead of VMX - even on Intel hosts. I believe (though I
didn't consider this too carefully) this will be easier to implement,
as in many respects, SVM is simpler than VMX.
--
Nadav Har'El | Sunday, Apr 29 2012,
address@hidden |-----------------------------------------
Phone +972-523-790466, ICQ 13349191 |Guarantee: this email is 100% free of
http://nadav.harel.org.il |magnetic monopoles, or your money back!