← Back to team overview

kernel-packages team mailing list archive

[Bug 1208455] Re: general protection fault running apt-get inside double nested kvm VM

 

As it seemed that starting a 64bit hypervisor (qemu-system-x86_64) from
a 32bit user-space running on another 64bit hypervisor has different
issues which seem to go back even further, I concentrated on bisecting
the case of host running 64bit user-space on a 64bit CPU and the first
level guest running 64bit user-space under a 64bit hypervisor. The
second level guest is started with a 64bit hypervisor but a 32bit
userspace. All host and guests are Saucy and started with the same
kernel.

Then for bisecting I only replaced the host kernel with kernels between
v3.9 and v3.10. Then started a guest and ran the prepare-testbed
repeatedly. The first change that broke things was:

commit 5f3d5799974b89100268ba813cec8db7bd0693fb
KVM: nVMX: Rework event injection and recovery

However at that point starting a 2nd level guest is completely broken
until:

commit 5a2892ce72e010e3cb96b438d7cdddce0c88e0e6
KVM: nVMX: Skip PF interception check when queuing during nested run

So potentially the rework patch broke things and the current issue is
remaining after fixing the major issues. Though it could be introduced
by one of the patches in between but it  cannot be bisected.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1208455

Title:
  general protection fault running apt-get inside double nested kvm VM

Status in “linux” package in Ubuntu:
  In Progress
Status in “qemu-kvm” package in Ubuntu:
  New
Status in “linux” source package in Saucy:
  In Progress
Status in “qemu-kvm” source package in Saucy:
  New

Bug description:
  Attempting to run apt-get in a nested vm hosted in OpenStack results
  in a  general protection fault in the kernel in the nested VM.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1208455/+subscriptions


References