kvm_intel not loading with nested=1 on boot

Bug #1040230 reported by Jamie Strandboge on 2012-08-22
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qemu-kvm (Ubuntu)
High
Serge Hallyn
Quantal
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/qemu-kvm).

WORKAROUND:
Add the following to /etc/modprobe.d/qemu-kvm.conf:
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/qemu-kvm between 12.04 and 12.10 are identical and that the upstart jobs should be equivalent (the 12.10 one adds '|| true' to the end of all modprobe lines).

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)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qemu-kvm - 1.1~rc+dfsg-1ubuntu10

---------------
qemu-kvm (1.1~rc+dfsg-1ubuntu10) quantal; urgency=low

  * debian/qemu-kvm.modprobe: set nested=1 at module load. (LP: #1040230)
  * remove patch ubuntu/define_AT_EMPTY_PATH, the real fix is now in eglibc.
 -- Serge Hallyn <email address hidden> Thu, 23 Aug 2012 11:10:53 -0500

Changed in qemu-kvm (Ubuntu Quantal):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers