From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 64801] New: Nested Virtualisation with KVM on Intel and AMD processors: L2 unreachable Date: Mon, 11 Nov 2013 15:47:57 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail.kernel.org ([198.145.19.201]:45906 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754736Ab3KKPsD (ORCPT ); Mon, 11 Nov 2013 10:48:03 -0500 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9BD782028D for ; Mon, 11 Nov 2013 15:48:01 +0000 (UTC) Received: from bugzilla1.web.kernel.org (bugzilla1.web.kernel.org [172.20.200.51]) by mail.kernel.org (Postfix) with ESMTP id 7F47C2021A for ; Mon, 11 Nov 2013 15:47:57 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=64801 Bug ID: 64801 Summary: Nested Virtualisation with KVM on Intel and AMD processors: L2 unreachable Product: Virtualization Version: unspecified Kernel Version: 3.12 Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: kvm Assignee: virtualization_kvm@kernel-bugs.osdl.org Reporter: 2005@kuarepoti-dju.net Regression: No With the recent kernel version(s) it seems to be impossible to reach an L2 guest. The issues sometimes even render the L0 machine unusable, and hence could be considered relevant to system security. On three machines, the combination of KVM 1.2 and Linux 3.12 produces the following results when invoking the L2 VM: * Intel Core i5 680: register dump * Intel Core i7 M620: "nested_vmx_run: VMCS MSR_{LOAD,STORE} unsupported" * AMD Athlon X2 3800+: "skip emulated instructions" messages thrown over all host ttys On another machine, AMD Athlon II X2 240e which runs Linux 3.2.0 as host with KVM 1.1 and Linux 3.9.0 as guests, L2 can be reached. Booting the test setup from above with Linux 3.12 on all levels for comparing the results was not yet possible. The test setup consists of a minimal textmode VM which nests itself twice and contains some extra configuration for L0 for hardware support. Both SMP and single-core configurations seem to show the same behaviour. Kernel 3.12 host (L0) minimal configuration; may need tweaks depending on the hardware in use: http://serviceplatform.org/cgi-bin/gitweb.cgi?p=space-cloud;a=blob_plain;f=nestedcloud/kernel-boot/customkernel/nestedcloud.hostkernel.config;hb=master Kernel 3.12 guest (L1+L2) minimal configuration: https://gitorious.org/recvirt/recvirt/raw/2d4aeef70e53df7a2199256550515cd3bdbd4ecd:recvirt-basevm/kernel/recvirt.kvmkernel-smpfull.config Complete L0 test image (~800 MB) with extlinux as bootloader; may need root= and kvm_intel.nested=1 parameters, or PROMPT 1 in extlinux.conf; login is root, password is demo: http://141.76.41.201/recvirt/ -- You are receiving this mail because: You are watching the assignee of the bug.