[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [SVM][PATCH] fix NMI vmexit handling


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Woller, Thomas" <thomas.woller@xxxxxxx>
  • Date: Tue, 25 Jul 2006 14:58:21 -0500
  • Delivery-date: Tue, 25 Jul 2006 12:58:54 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcawJK55XxDMghb3QkGSknGt7uUEtg==
  • Thread-topic: [SVM][PATCH] fix NMI vmexit handling

Attached SVM patch fixes a problem when an NMI is intercepted while
running an SVM guest.  
Basically the NMI handler (do_nmi()) was being called twice, once when
global interrupts was enabled, and then second when the vmexit nmi
handler executed.  
This patch moves enablement of the global interrupts (STGI) from the asm
exits.S files to the vmexit handler (svm.c), and then enables interrupts
after the do_nmi() handling.

Tested on 32bit and 64bit hypervisors, also with the most recent
xenoprofile patches to enable hvm oprofile functionality.

Applies cleanly to 10729.
Please apply to xen-unstable.hg.

Signed-off-by: Tom Woller <thomas.woller@xxxxxxx>

Attachment: svm_stgi_nmi.patch
Description: svm_stgi_nmi.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.