kvm_intel not loading with nested=1 on boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu-kvm (Ubuntu) |
Fix Released
|
High
|
Serge Hallyn | ||
Quantal |
Fix Released
|
High
|
Serge Hallyn |
Bug Description
On 12.10, when I boot my host, guests are not able to load the kvm_intel module because the kvm_intel module on the host is loaded without nested=1 (ie, nested virtualization is broken). I presume this is happening because the module is loading before the qemu-kvm upstart job runs. The upstart job works correctly in that if after a fresh reboot I do:
$ sudo stop qemu-kvm
$ sudo start qemu-kvm
I am then able to load kvm_intel in guests (ie, KVM_NESTED=" nested=1" was honored in /etc/default/
WORKAROUND:
Add the following to /etc/modprobe.
options kvm_intel nested=1
I should note that because of bug #1040033, I am running 12.04's qemu. I verified that /etc/default/
description: | updated |
description: | updated |
tags: | added: rls-q-incoming |
Changed in qemu-kvm (Ubuntu Quantal): | |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
This bug was fixed in the package qemu-kvm - 1.1~rc+ dfsg-1ubuntu10
--------------- dfsg-1ubuntu10) quantal; urgency=low
qemu-kvm (1.1~rc+
* debian/ qemu-kvm. modprobe: set nested=1 at module load. (LP: #1040230) define_ AT_EMPTY_ PATH, the real fix is now in eglibc.
* remove patch ubuntu/
-- Serge Hallyn <email address hidden> Thu, 23 Aug 2012 11:10:53 -0500