From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 58941] New: [nested virt] L2 has NMI error when creating L1 with "-cpu host" parameter. Date: Wed, 29 May 2013 03:22:48 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE To: kvm@vger.kernel.org Return-path: Received: from mail.kernel.org ([198.145.19.201]:46954 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759346Ab3E2DWz convert rfc822-to-8bit (ORCPT ); Tue, 28 May 2013 23:22:55 -0400 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6A48620561 for ; Wed, 29 May 2013 03:22:54 +0000 (UTC) Received: from bugzilla.kernel.org (bugzilla.kernel.org [198.145.19.217]) by mail.kernel.org (Postfix) with ESMTP id 5CA872054F for ; Wed, 29 May 2013 03:22:49 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=3D58941 Summary: [nested virt] L2 has NMI error when creating L1 wit= h "-cpu host" parameter. Product: Virtualization Version: unspecified Kernel Version: 3.10.0-rc1 Platform: All OS/Version: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: kvm AssignedTo: virtualization_kvm@kernel-bugs.osdl.org ReportedBy: yongjie.ren@intel.com Regression: Yes Environment: ------------ Host OS (ia32/ia32e/IA64):ia32e Guest OS (ia32/ia32e/IA64):ia32e Guest OS Type (Linux/Windows):Linux kvm.git next Commit:e47a5f5fb715b90b40747e9e235de557c6abd56c qemu-kvm Commit:b5803aa3583e82e5133f7621121bc15ee694f4a1 Host Kernel Version:3.10.0-rc1 Hardware: SandyBridge-EP, Haswell Bug detailed description: -------------------------- When starting L1 guest with parameter "-cpu host" (or '-cpu SandyBridge= ,+vmx', '-cpu Haswell,+vmx'), the L2 guest will print error like "NMI received for unknown reason 00 on CPU 1." note: When starting L1 guest with parameter "-cpu qemu64,+vmx", L2 guest won'= t print NMI error. Reproduce steps: ---------------- 1. create L1 guest: qemu-system-x86_64 --enable-kvm -m 10240 -smp 8 -net nic,macaddr=3D00:12:45:67:2B:1C -net tap,script=3D/etc/kvm/qemu-ifup nested-kvm-rhel6u4.qcow -cpu host 2. create L2 guest qemu-system-x86_64 --enable-kvm -m 1024 -smp 2 -net none rhel6u4.img Current result: ---------------- L2 guest continuously print NMI message Expected result: ---------------- L2 guest has no NMI message print=EF=BC=9B L2 works fine Basic root-causing log: ---------------------- [ in L2's 'dmesg'] Uhhuh. NMI received for unknown reason 30 on CPU 0. Do you have a strange power saving mode enabled? Dazed and confused, but trying to continue --=20 Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=3Demai= l ------- You are receiving this mail because: ------- You are watching the assignee of the bug.