WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] hvm: Ignore NMI deliveries for now, until

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] hvm: Ignore NMI deliveries for now, until hardware taskswitch is emulated.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 07 Sep 2007 09:13:54 -0700
Delivery-date: Fri, 07 Sep 2007 09:22:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1189074878 -3600
# Node ID 447db1235adf1bc59bbd76c951716c3df7ee8843
# Parent  4b5f3a0877377970e17153e9c5487326caa9dfd3
hvm: Ignore NMI deliveries for now, until hardware taskswitch is emulated.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/hvm/irq.c |    7 +++++++
 1 files changed, 7 insertions(+)

diff -r 4b5f3a087737 -r 447db1235adf xen/arch/x86/hvm/irq.c
--- a/xen/arch/x86/hvm/irq.c    Thu Sep 06 11:31:02 2007 +0100
+++ b/xen/arch/x86/hvm/irq.c    Thu Sep 06 11:34:38 2007 +0100
@@ -306,7 +306,14 @@ int hvm_vcpu_ack_pending_irq(struct vcpu
     switch ( type )
     {
     case hvm_intack_nmi:
+#if 0
         return test_and_clear_bool(v->nmi_pending);
+#else
+        if ( test_and_clear_bool(v->nmi_pending) )
+            gdprintk(XENLOG_WARNING, "Dropping NMI delivery to %d:%d\n",
+                     v->domain->domain_id, v->vcpu_id);
+        break;
+#endif
     case hvm_intack_lapic:
         return ((*vector = cpu_get_apic_interrupt(v)) != -1);
     case hvm_intack_pic:

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] hvm: Ignore NMI deliveries for now, until hardware taskswitch is emulated., Xen patchbot-unstable <=