Bug 520694 - NMI filtering for AMD (Windows 2008 R2 KVM guest can not restart when set it as multiple cpus)
Summary: NMI filtering for AMD (Windows 2008 R2 KVM guest can not restart when set it ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.5
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Gleb Natapov
QA Contact: Lawrence Lim
URL:
Whiteboard:
: 552531 (view as bug list)
Depends On: 502543 503322
Blocks: 518493 524676
TreeView+ depends on / blocked
 
Reported: 2009-09-01 20:02 UTC by Benjamin Kahn
Modified: 2014-03-26 01:01 UTC (History)
21 users (show)

Fixed In Version: kvm-83-105.el5_4.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-29 15:03:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
strace log (4.22 MB, text/plain)
2009-09-08 12:52 UTC, lihuang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:1465 0 normal SHIPPED_LIVE Important: kvm security and bug fix update 2009-09-29 15:02:50 UTC

Description Benjamin Kahn 2009-09-01 20:02:39 UTC
This bug has been copied from bug #503322 and has been proposed
to be backported to 5.4 z-stream (EUS).

Comment 9 lihuang 2009-09-08 12:52:27 UTC
Created attachment 360068 [details]
strace log

Comment 12 Gleb Natapov 2009-09-16 09:30:52 UTC
what should be done to ensure this?

Comment 15 lihuang 2009-09-17 17:14:58 UTC
Hi gleb

for the NMI filtering. any other expected testing besides restarting ?


Thanks 
Lijun Huang

Comment 16 Gleb Natapov 2009-09-18 13:55:22 UTC
(In reply to comment #15)
> Hi gleb
> 
> for the NMI filtering. any other expected testing besides restarting ?
AFAIK kdump uses nmi. You can try that.

Comment 17 Miya Chen 2009-09-24 07:20:42 UTC
Test this problem with kvm-83-105.el5_4.4 in AMD host:

1. 
1)Start windows guest by:
/usr/libexec/qemu-kvm -rtc-td-hack -no-hpet -usbdevice tablet -cpu qemu64,+sse2 -drive file=win08-r2.raw,if=virtio,boot=on -smp 2 -m 2G -name win08-r2 -net nic,macaddr=20:20:20:11:42:77,model=e1000,vlan=0 -net tap,script=/etc/qemu-ifup,vlan=0 -vnc :2
2)type nmi 0 in the monitor

Actual result:
windows guest got BSOD.

2.
1)Start linux guest by:
/usr/libexec/qemu-kvm -rtc-td-hack -no-hpet -usbdevice tablet -cpu qemu64,+sse2 -drive file=RHEL-Server-5.4-64-virtio.qcow2,if=ide -smp 2 -m 2G -name rhel54-64 -net nic,macaddr=20:20:20:11:42:66,model=e1000,vlan=0 -net tap,script=/etc/qemu-ifup,vlan=0 -vnc :2
2)type nmi 0 in the monitor

Actual result:
grep NMI /cat/interrupts
NMI:      1        0

3.
Restart win2008R2 DC guest for 10 times, all restart sucess.
cmd:
/usr/libexec/qemu-kvm -rtc-td-hack -no-hpet -usbdevice tablet -cpu qemu64,+sse2 -drive file=win28k-r2-virtio.raw,if=virtio,boot=on -smp 2 -m 2G -name win28k-r2-virtio -net nic,macaddr=20:20:20:11:42:77,model=e1000,vlan=0 -net tap,script=/etc/qemu-ifup,vlan=0 -vnc :2

Base on above test, NMI can be received by guest in AMD host.

Comment 20 errata-xmlrpc 2009-09-29 15:03:00 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-1465.html

Comment 21 Eduardo Habkost 2010-01-06 21:46:54 UTC
*** Bug 552531 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.