* [Bug 58941] New: [nested virt] L2 has NMI error when creating L1 with "-cpu host" parameter.
@ 2013-05-29 3:22 bugzilla-daemon
2013-05-29 6:14 ` [Bug 58941] " bugzilla-daemon
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-05-29 3:22 UTC (permalink / raw)
To: kvm
https://bugzilla.kernel.org/show_bug.cgi?id=58941
Summary: [nested virt] L2 has NMI error when creating L1 with
"-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=00:12:45:67:2B:1C -net tap,script=/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; 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
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 58941] [nested virt] L2 has NMI error when creating L1 with "-cpu host" parameter.
2013-05-29 3:22 [Bug 58941] New: [nested virt] L2 has NMI error when creating L1 with "-cpu host" parameter bugzilla-daemon
@ 2013-05-29 6:14 ` bugzilla-daemon
2013-11-07 6:30 ` bugzilla-daemon
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-05-29 6:14 UTC (permalink / raw)
To: kvm
https://bugzilla.kernel.org/show_bug.cgi?id=58941
--- Comment #1 from Jay Ren <yongjie.ren@intel.com> 2013-05-29 06:14:54 ---
kvm next + qemu-kvm = result
188424ba + b5803aa3 = good
db6ae615 + b5803aa3 = bad
This bug may have some relationship with bug #58921.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 58941] [nested virt] L2 has NMI error when creating L1 with "-cpu host" parameter.
2013-05-29 3:22 [Bug 58941] New: [nested virt] L2 has NMI error when creating L1 with "-cpu host" parameter bugzilla-daemon
2013-05-29 6:14 ` [Bug 58941] " bugzilla-daemon
@ 2013-11-07 6:30 ` bugzilla-daemon
2013-11-13 20:10 ` bugzilla-daemon
2013-11-13 20:10 ` bugzilla-daemon
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-11-07 6:30 UTC (permalink / raw)
To: kvm
https://bugzilla.kernel.org/show_bug.cgi?id=58941
Zhou, Chao <chao.zhou@intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chao.zhou@intel.com
--- Comment #2 from Zhou, Chao <chao.zhou@intel.com> ---
this commit fix the bug:
commit cd2633c59b6f511effb53e10fa2c1e20b1cec1e7
Author: Jan Kiszka <jan.kiszka@siemens.com>
Date: Wed Oct 23 17:42:15 2013 +0100
nVMX: Fix pick-up of uninjected NMIs
__vmx_complete_interrupts stored uninjected NMIs in arch.nmi_injected,
not arch.nmi_pending. So we actually need to check the former field in
vmcs12_save_pending_event. This fixes the eventinj unit test when run
in nested KVM.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 58941] [nested virt] L2 has NMI error when creating L1 with "-cpu host" parameter.
2013-05-29 3:22 [Bug 58941] New: [nested virt] L2 has NMI error when creating L1 with "-cpu host" parameter bugzilla-daemon
2013-05-29 6:14 ` [Bug 58941] " bugzilla-daemon
2013-11-07 6:30 ` bugzilla-daemon
@ 2013-11-13 20:10 ` bugzilla-daemon
2013-11-13 20:10 ` bugzilla-daemon
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-11-13 20:10 UTC (permalink / raw)
To: kvm
https://bugzilla.kernel.org/show_bug.cgi?id=58941
Alan <alan@lxorguk.ukuu.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |alan@lxorguk.ukuu.org.uk
Resolution|--- |CODE_FIX
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 58941] [nested virt] L2 has NMI error when creating L1 with "-cpu host" parameter.
2013-05-29 3:22 [Bug 58941] New: [nested virt] L2 has NMI error when creating L1 with "-cpu host" parameter bugzilla-daemon
` (2 preceding siblings ...)
2013-11-13 20:10 ` bugzilla-daemon
@ 2013-11-13 20:10 ` bugzilla-daemon
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-11-13 20:10 UTC (permalink / raw)
To: kvm
https://bugzilla.kernel.org/show_bug.cgi?id=58941
Alan <alan@lxorguk.ukuu.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-11-13 20:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-29 3:22 [Bug 58941] New: [nested virt] L2 has NMI error when creating L1 with "-cpu host" parameter bugzilla-daemon
2013-05-29 6:14 ` [Bug 58941] " bugzilla-daemon
2013-11-07 6:30 ` bugzilla-daemon
2013-11-13 20:10 ` bugzilla-daemon
2013-11-13 20:10 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox